|
||||||||||
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.CollectionDefinition
public class CollectionDefinition
A single Collection attribute definition in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a specific Collection attribute of an entry.
Field Summary | |
---|---|
protected String |
dataObjectClass
|
protected String |
description
|
protected String |
elementLabel
|
protected String |
label
|
protected Integer |
maxOccurs
|
protected Integer |
minOccurs
|
protected String |
name
|
protected String |
shortLabel
|
protected String |
summary
|
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
id |
Constructor Summary | |
---|---|
CollectionDefinition()
|
Method Summary | |
---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Directly validate simple fields, call completeValidation on Definition fields. |
String |
getDataObjectClass()
|
String |
getDescription()
|
String |
getElementLabel()
Gets the elementLabel attribute. |
String |
getLabel()
|
Integer |
getMaximumNumberOfElements()
|
Integer |
getMaxOccurs()
|
Integer |
getMinimumNumberOfElements()
|
Integer |
getMinOccurs()
|
String |
getName()
|
String |
getShortLabel()
|
String |
getSummary()
|
void |
setDataObjectClass(String dataObjectClass)
|
void |
setDescription(String description)
The description element is used to provide a long description of the attribute or collection. |
void |
setElementLabel(String elementLabel)
The elementLabel defines the name to be used for a single object within the collection. |
void |
setLabel(String label)
|
void |
setMaxOccurs(Integer maxOccurs)
|
void |
setMinOccurs(Integer minOccurs)
|
void |
setName(String name)
|
void |
setShortLabel(String shortLabel)
|
void |
setSummary(String summary)
The summary element is used to provide a short description of the attribute or collection. |
String |
toString()
|
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, wait, wait, wait |
Field Detail |
---|
protected String dataObjectClass
protected String name
protected String label
protected String shortLabel
protected String elementLabel
protected String summary
protected String description
protected Integer minOccurs
protected Integer maxOccurs
Constructor Detail |
---|
public CollectionDefinition()
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()
public void setShortLabel(String shortLabel)
public String getElementLabel()
public void setElementLabel(String elementLabel)
public String getSummary()
public void setSummary(String summary)
public String getDescription()
public void setDescription(String description)
public String getDataObjectClass()
public void setDataObjectClass(String dataObjectClass)
objectClass
- the dataObjectClass to setpublic void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation
in interface DataDictionaryDefinition
rootBusinessObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass
- other stuff required to complete validationDataDictionaryEntry.completeValidation()
public String toString()
toString
in class Object
Object.toString()
public Integer getMaximumNumberOfElements()
getMaximumNumberOfElements
in interface CollectionSizeConstraint
CollectionSizeConstraint.getMaximumNumberOfElements()
public Integer getMinimumNumberOfElements()
getMinimumNumberOfElements
in interface CollectionSizeConstraint
CollectionSizeConstraint.getMinimumNumberOfElements()
public Integer getMinOccurs()
public void setMinOccurs(Integer minOccurs)
minOccurs
- the minOccurs to setpublic Integer getMaxOccurs()
public void setMaxOccurs(Integer maxOccurs)
maxOccurs
- the maxOccurs to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |