public class BooleanFieldDef extends FieldDef
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
BooleanFieldDef() |
BooleanFieldDef(String name) |
BooleanFieldDef(String name,
FieldType type) |
assertValid, fromJson, fromXmlElement, getAllowedValues, getAttributes, getDefaultValueExpression, getDefaultValueExpressionAsString, getDescription, getDisplayName, getDisplayNameOrName, getEntityDef, getEntityQualifiedName, getExample, getIndexInEntityDef, getMaximumElements, getMinimumElements, getName, getNameForErrorMessage, getPosition, getPrimaryKeyPosition, getPrimaryKeyType, getQualifiedName, getSchemaDef, getSchemaDef, getSchemaPartContainer, getSchemaPartName, getSchemaPartType, getSchemaProblems, getTags, getType, isArray, isLimitToAllowedValues, isPrimaryKey, isRequired, isStrictArrays, mapValue, mapValueImpl, newInstanceFromRecord, newInstanceFromType, newInstanceFromXml, toJson, toRecord, toXmlElement, 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 BooleanFieldDef()
public BooleanFieldDef(String name)
public BooleanFieldDef 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 BooleanFieldDef setEntityDef(EntityDef entityDef)
setEntityDef in class FieldDefpublic BooleanFieldDef setName(String name)
public BooleanFieldDef setDisplayName(String displayName)
setDisplayName in class FieldDefpublic BooleanFieldDef setDescription(String description)
setDescription in class FieldDefpublic BooleanFieldDef setType(FieldType type)
public BooleanFieldDef setRequired(boolean required)
setRequired in class FieldDefpublic BooleanFieldDef setMinimumElements(Integer minimumElements)
setMinimumElements in class FieldDefpublic BooleanFieldDef setMaximumElements(Integer maximumElements)
setMaximumElements in class FieldDefpublic BooleanFieldDef setArray(boolean array)
FieldDefFieldDef.getMinimumElements() to zero (0) if both FieldDef.getMinimumElements() and FieldDef.getMaximumElements() are null, otherwise, does nothing.public BooleanFieldDef setStrictArrays(boolean strictArrays)
setStrictArrays in class FieldDefpublic BooleanFieldDef setAllowedValues(ValueMatch<?> allowedValues)
setAllowedValues in class FieldDefpublic BooleanFieldDef setLimitToAllowedValues(boolean limitToAllowedValues)
setLimitToAllowedValues in class FieldDefpublic BooleanFieldDef setPrimaryKeyPosition(Integer primaryKeyPosition)
setPrimaryKeyPosition in class FieldDefpublic BooleanFieldDef setPrimaryKeyType(PrimaryKeyType primaryKeyType)
setPrimaryKeyType in class FieldDefpublic BooleanFieldDef setPosition(Integer position)
setPosition in class FieldDefpublic BooleanFieldDef setDefaultValueExpression(Expression defaultValueExpression)
FieldDefsetDefaultValueExpression in class FieldDefpublic BooleanFieldDef setExample(String example)
setExample in class FieldDefpublic BooleanFieldDef setAttributes(Attributes attributes)
setAttributes in class FieldDefpublic BooleanFieldDef setTags(Tags tags)
public BooleanFieldDef 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 FieldDefCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.