|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
public abstract class AttributeDefinitionBase
Common class for attribute definitions in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a specific attribute of an entry. An attribute can be a simple or complex attribute.
Field Summary | |
---|---|
protected String |
constraintText
|
protected String |
description
|
protected String |
displayLabelAttribute
|
protected String |
label
|
protected String |
messageKey
|
protected String |
name
|
protected Boolean |
required
|
protected String |
shortLabel
|
protected String |
summary
|
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
id |
Constructor Summary | |
---|---|
AttributeDefinitionBase()
|
Method Summary | |
---|---|
String |
getConstraintText()
Text that display a restriction on the value a field can hold |
String |
getDescription()
|
protected String |
getDirectShortLabel()
|
String |
getDisplayLabelAttribute()
|
String |
getLabel()
|
String |
getName()
|
String |
getShortLabel()
|
String |
getSummary()
|
Boolean |
isRequired()
|
void |
setConstraintText(String constraintText)
Setter for the constraint message text |
void |
setDescription(String description)
The description element is used to provide a long description of the attribute or collection. |
void |
setDisplayLabelAttribute(String displayLabelAttribute)
The displayLabelAttribute element is used to indicate that the label and short label should be obtained from another attribute. |
void |
setLabel(String label)
The label element is the field or collection name that will be shown on inquiry and maintenance screens. |
void |
setName(String name)
|
void |
setRequired(Boolean required)
The required element allows values of "true" or "false". |
void |
setShortLabel(String shortLabel)
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. |
void |
setSummary(String summary)
The summary element is used to provide a short description of the attribute or collection. |
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
afterPropertiesSet, getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DataDictionaryDefinition |
---|
completeValidation |
Field Detail |
---|
protected String name
protected String label
protected String shortLabel
protected String displayLabelAttribute
protected String messageKey
protected String constraintText
protected String summary
protected String description
protected Boolean required
Constructor Detail |
---|
public AttributeDefinitionBase()
Method Detail |
---|
public String getName()
getName
in interface Constrainable
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String getShortLabel()
protected String getDirectShortLabel()
public void setShortLabel(String shortLabel)
public void setRequired(Boolean required)
public Boolean isRequired()
isRequired
in interface ExistenceConstraint
public String getConstraintText()
For example when the value must be a valid format (phone number, email), certain length, min/max value and so on this text can be used to indicate the constraint to the user. Generally displays with the control so it is visible when the user tabs to the field
public void setConstraintText(String constraintText)
constraintText
- public String getSummary()
public void setSummary(String summary)
public String getDescription()
public void setDescription(String description)
public String getDisplayLabelAttribute()
public void setDisplayLabelAttribute(String displayLabelAttribute)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |