public class BinaryFieldDef extends FieldDef
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
BinaryFieldDef() |
BinaryFieldDef(String name) |
BinaryFieldDef(String name,
FieldType type) |
assertValid, fromJson, getAllowedValues, getAttributes, getDefaultValueExpression, getDefaultValueExpressionAsString, getDescription, getDisplayName, getDisplayNameOrName, getEntityDef, getEntityQualifiedName, getExample, getIndexInEntityDef, getMaximumElements, getMinimumElements, getName, getNameForErrorMessage, getPosition, getPrimaryKeyPosition, getPrimaryKeyType, getQualifiedName, getSchemaDef, getSchemaDef, getSchemaPartContainer, getSchemaPartName, getSchemaPartType, getTags, getType, isArray, isLimitToAllowedValues, isPrimaryKey, isRequired, isStrictArrays, mapValue, mapValueImpl, newInstanceFromRecord, newInstanceFromType, newInstanceFromXml, toJson, validateAllowedValues, validateField, validateField, validateField, validateField, validateValue, validateValuegetSchemaName, getSchemaPartContainerName, getSchemaPartContainerTypeaddExceptionProperties, assertValid, exception, exception, exception, getInternalId, getInternalName, resetInternalIdfinalize, getClass, notify, notifyAll, wait, wait, waitgetSchemaProblems, getSchemaProblemsfromArrayValue, fromArrayValue, fromArrayValue, fromJson, newInstanceFromRecord, toArrayValue, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic BinaryFieldDef()
public BinaryFieldDef(String name)
public void getSchemaProblems(List<SchemaProblem> problems, boolean includeChildren)
getSchemaProblems in interface SchemaProblemsSuppliergetSchemaProblems in class FieldDefpublic BinaryFieldDef clone()
protected void validateValueImpl(Object value, ValidationResult result) throws Throwable
validateValueImpl in class FieldDefThrowableprotected void generateConstructor(JavaCodeBuilder code, CodeWriter writer)
generateConstructor in class FieldDefpublic void generateJavaCode(JavaCodeBuilder code)
generateJavaCode in interface JavaCodeGeneratorgenerateJavaCode in class FieldDefprotected BinaryFieldDef setEntityDef(EntityDef entityDef)
setEntityDef in class FieldDefpublic BinaryFieldDef setName(String name)
public BinaryFieldDef setDisplayName(String displayName)
setDisplayName in class FieldDefpublic BinaryFieldDef setDescription(String description)
setDescription in class FieldDefpublic BinaryFieldDef setType(FieldType type)
public BinaryFieldDef setRequired(boolean required)
setRequired in class FieldDefpublic BinaryFieldDef setMinimumElements(Integer minimumElements)
setMinimumElements in class FieldDefpublic BinaryFieldDef setMaximumElements(Integer maximumElements)
setMaximumElements in class FieldDefpublic BinaryFieldDef setArray(boolean array)
FieldDefFieldDef.getMinimumElements() to zero (0) if both FieldDef.getMinimumElements() and FieldDef.getMaximumElements() are null, otherwise, does nothing.public BinaryFieldDef setStrictArrays(boolean strictArrays)
setStrictArrays in class FieldDefpublic BinaryFieldDef setAllowedValues(ValueMatch<?> allowedValues)
setAllowedValues in class FieldDefpublic BinaryFieldDef setLimitToAllowedValues(boolean limitToAllowedValues)
setLimitToAllowedValues in class FieldDefpublic BinaryFieldDef setPrimaryKeyPosition(Integer primaryKeyPosition)
setPrimaryKeyPosition in class FieldDefpublic BinaryFieldDef setPrimaryKeyType(PrimaryKeyType primaryKeyType)
setPrimaryKeyType in class FieldDefpublic Long getMinimumLength()
public BinaryFieldDef setMinimumLength(Long minimumLength)
public Long getMaximumLength()
public BinaryFieldDef setMaximumLength(Long maximumLength)
public BinaryFieldDef setPosition(Integer position)
setPosition in class FieldDefpublic BinaryFieldDef setDefaultValueExpression(Expression defaultValueExpression)
FieldDefsetDefaultValueExpression in class FieldDefpublic BinaryFieldDef setExample(String example)
setExample in class FieldDefpublic BinaryFieldDef setAttributes(Attributes attributes)
setAttributes in class FieldDefpublic BinaryFieldDef setTags(Tags tags)
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class FieldDefpublic BinaryFieldDef fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class FieldDefpublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class FieldDefpublic BinaryFieldDef fromXmlElement(Element fieldDefElement)
fromXmlElement in interface XmlSerializablefromXmlElement in class FieldDefCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.