public static class AttributeDefinitionInfo.Builder extends Object implements AttributeDefinitionInfc
Constructor and Description |
---|
AttributeDefinitionInfo.Builder() |
AttributeDefinitionInfo.Builder(AttributeDefinitionInfc attrDef) |
Modifier and Type | Method and Description |
---|---|
AttributeDefinitionInfo |
build() |
String |
getChildEntryName() |
String |
getCustomValidatorClass()
Class to do custom validation
|
org.kuali.rice.core.api.uif.DataType |
getDataType()
The type of data this attribite (field) holds.
|
String |
getDescription()
The description element is used to provide a long description
of the attribute or collection.
|
String |
getDisplayLabelAttribute()
The displayLabelAttribute element is used to indicate that the
label and short label should be obtained from another
attribute.
|
String |
getExclusiveMin()
The exclusiveMin element determines the minimum allowable value
for data entry editing purposes.
|
String |
getFormatterClass()
The formatterClass element is used when custom formatting is
required for display of the field value.
|
String |
getInclusiveMax()
The inclusiveMax element determines the maximum allowable value
for data entry editing purposes.
|
Boolean |
getIsForceUppercase()
Converts user entry to uppercase and always display database
value as uppercase.
|
Boolean |
getIsRequired()
The required element allows values of "true" or "false".
|
Boolean |
getIsUnique()
Similar to a db column that is flagged as unique, the value is
unique across all data objects of that type
|
String |
getLabel()
The label element is the field or collection name that will be
shown on inquiry and maintenance screens.
|
Integer |
getMaxLength()
The maxLength element determines the maximum size of the field
for data entry edit purposes and for display purposes.
|
Integer |
getMaxOccurs()
The maximum number of allowed occurences of this field
TODO: Get RICE to rename this getMaxOccurs so it matches the setter
TODO: Get RICE to set a value that means UNBOUNDED, perhaps 999999999
|
Integer |
getMinLength()
The miniumum length allowed for the field.
|
Integer |
getMinOccurs()
The minimum number of allowed occurences
TODO: get Rice to rename this to getMinOccurs to it matches the
setter.
|
String |
getName()
The name of the attribute (or field).
|
String |
getShortLabel()
The shortLabel element is the field or collection name that
will be used in applications when a shorter name (than the
label element) is required.
|
String |
getSummary()
The summary element is used to provide a short description of
the attribute or collection.
|
ValidCharactersConstraintInfc |
getValidCharactersConstraint()
The constraint that applies regular expressions to to the value
TODO: Ask RICE to create an interface for
ValidCharactersConstraint so we can return that instead of the
generic constraint
|
AttributeDefinitionInfo.Builder |
setChildEntryName(String childEntryName) |
AttributeDefinitionInfo.Builder |
setCustomValidatorClass(String customValidatorClass) |
AttributeDefinitionInfo.Builder |
setDataType(org.kuali.rice.core.api.uif.DataType dataType) |
AttributeDefinitionInfo.Builder |
setDescription(String description) |
AttributeDefinitionInfo.Builder |
setDisplayLabelAttribute(String displayLabelAttribute) |
AttributeDefinitionInfo.Builder |
setExclusiveMin(String exclusiveMin) |
AttributeDefinitionInfo.Builder |
setForceUppercase(Boolean forceUppercase) |
AttributeDefinitionInfo.Builder |
setFormatterClass(String formatterClass) |
AttributeDefinitionInfo.Builder |
setInclusiveMax(String inclusiveMax) |
AttributeDefinitionInfo.Builder |
setLabel(String label) |
AttributeDefinitionInfo.Builder |
setMaxLength(Integer maxLength) |
AttributeDefinitionInfo.Builder |
setMaxOccurs(Integer maxOccurs) |
AttributeDefinitionInfo.Builder |
setMinLength(Integer minLength) |
AttributeDefinitionInfo.Builder |
setMinOccurs(Integer minOccurs) |
AttributeDefinitionInfo.Builder |
setName(String name) |
AttributeDefinitionInfo.Builder |
setRequired(Boolean required) |
AttributeDefinitionInfo.Builder |
setShortLabel(String shortLabel) |
AttributeDefinitionInfo.Builder |
setSummary(String summary) |
AttributeDefinitionInfo.Builder |
setUnique(Boolean unique) |
AttributeDefinitionInfo.Builder |
setValidCharactersConstraint(ValidCharactersConstraintInfc validCharactersConstraint) |
public AttributeDefinitionInfo.Builder()
public AttributeDefinitionInfo.Builder(AttributeDefinitionInfc attrDef)
public AttributeDefinitionInfo build()
public String getChildEntryName()
getChildEntryName
in interface AttributeDefinitionInfc
public String getCustomValidatorClass()
AttributeDefinitionInfc
getCustomValidatorClass
in interface AttributeDefinitionInfc
public org.kuali.rice.core.api.uif.DataType getDataType()
AttributeDefinitionInfc
getDataType
in interface AttributeDefinitionInfc
public String getDescription()
AttributeDefinitionInfc
getDescription
in interface AttributeDefinitionInfc
public String getDisplayLabelAttribute()
AttributeDefinitionInfc
getDisplayLabelAttribute
in interface AttributeDefinitionInfc
public String getExclusiveMin()
AttributeDefinitionInfc
getExclusiveMin
in interface AttributeDefinitionInfc
public Boolean getIsForceUppercase()
AttributeDefinitionInfc
getIsForceUppercase
in interface AttributeDefinitionInfc
public String getFormatterClass()
AttributeDefinitionInfc
getFormatterClass
in interface AttributeDefinitionInfc
public String getInclusiveMax()
AttributeDefinitionInfc
getInclusiveMax
in interface AttributeDefinitionInfc
public String getLabel()
AttributeDefinitionInfc
getLabel
in interface AttributeDefinitionInfc
public Integer getMaxLength()
AttributeDefinitionInfc
getMaxLength
in interface AttributeDefinitionInfc
public Integer getMaxOccurs()
AttributeDefinitionInfc
getMaxOccurs
in interface AttributeDefinitionInfc
public Integer getMinLength()
AttributeDefinitionInfc
getMinLength
in interface AttributeDefinitionInfc
public Integer getMinOccurs()
AttributeDefinitionInfc
getMinOccurs
in interface AttributeDefinitionInfc
public String getName()
AttributeDefinitionInfc
getName
in interface AttributeDefinitionInfc
public String getShortLabel()
AttributeDefinitionInfc
getShortLabel
in interface AttributeDefinitionInfc
public String getSummary()
AttributeDefinitionInfc
getSummary
in interface AttributeDefinitionInfc
public Boolean getIsUnique()
AttributeDefinitionInfc
getIsUnique
in interface AttributeDefinitionInfc
public ValidCharactersConstraintInfc getValidCharactersConstraint()
AttributeDefinitionInfc
getValidCharactersConstraint
in interface AttributeDefinitionInfc
public Boolean getIsRequired()
AttributeDefinitionInfc
getIsRequired
in interface AttributeDefinitionInfc
public AttributeDefinitionInfo.Builder setChildEntryName(String childEntryName)
public AttributeDefinitionInfo.Builder setCustomValidatorClass(String customValidatorClass)
public AttributeDefinitionInfo.Builder setDataType(org.kuali.rice.core.api.uif.DataType dataType)
public AttributeDefinitionInfo.Builder setDescription(String description)
public AttributeDefinitionInfo.Builder setDisplayLabelAttribute(String displayLabelAttribute)
public AttributeDefinitionInfo.Builder setExclusiveMin(String exclusiveMin)
public AttributeDefinitionInfo.Builder setForceUppercase(Boolean forceUppercase)
public AttributeDefinitionInfo.Builder setFormatterClass(String formatterClass)
public AttributeDefinitionInfo.Builder setInclusiveMax(String inclusiveMax)
public AttributeDefinitionInfo.Builder setLabel(String label)
public AttributeDefinitionInfo.Builder setMaxLength(Integer maxLength)
public AttributeDefinitionInfo.Builder setMaxOccurs(Integer maxOccurs)
public AttributeDefinitionInfo.Builder setMinLength(Integer minLength)
public AttributeDefinitionInfo.Builder setMinOccurs(Integer minOccurs)
public AttributeDefinitionInfo.Builder setName(String name)
public AttributeDefinitionInfo.Builder setRequired(Boolean required)
public AttributeDefinitionInfo.Builder setShortLabel(String shortLabel)
public AttributeDefinitionInfo.Builder setSummary(String summary)
public AttributeDefinitionInfo.Builder setUnique(Boolean unique)
public AttributeDefinitionInfo.Builder setValidCharactersConstraint(ValidCharactersConstraintInfc validCharactersConstraint)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.