public class CollectionDefinition extends DataDictionaryDefinitionBase implements CollectionSizeConstrainable
| Modifier and Type | Field and Description |
|---|---|
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 |
id| Constructor and Description |
|---|
CollectionDefinition() |
| Modifier and Type | Method and Description |
|---|---|
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() |
afterPropertiesSet, getId, setIdprotected String dataObjectClass
protected String shortLabel
protected String elementLabel
protected String description
public CollectionDefinition()
public String getName()
getName in interface Constrainablepublic 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 DataDictionaryDefinitionrootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass - other stuff required to complete validationDataDictionaryEntry.completeValidation()public String toString()
toString in class ObjectObject.toString()public Integer getMaximumNumberOfElements()
getMaximumNumberOfElements in interface CollectionSizeConstraintCollectionSizeConstraint.getMaximumNumberOfElements()public Integer getMinimumNumberOfElements()
getMinimumNumberOfElements in interface CollectionSizeConstraintCollectionSizeConstraint.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 setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.