|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
public abstract class DataDictionaryEntryBase
Contains common properties and methods for data dictionary entries
Field Summary | |
---|---|
protected Map<String,AttributeDefinition> |
attributeMap
|
protected List<AttributeDefinition> |
attributes
|
protected Map<String,CollectionDefinition> |
collectionMap
|
protected List<CollectionDefinition> |
collections
|
protected Map<String,ComplexAttributeDefinition> |
complexAttributeMap
|
protected List<ComplexAttributeDefinition> |
complexAttributes
|
protected Map<String,RelationshipDefinition> |
relationshipMap
|
protected List<RelationshipDefinition> |
relationships
|
protected StateMapping |
stateMapping
|
Constructor Summary | |
---|---|
DataDictionaryEntryBase()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
completeValidation()
Directly validate simple fields, call completeValidation on Definition fields. |
void |
completeValidation(ValidationTrace tracer)
Directly validate simple fields, call completeValidation on Definition fields. |
AttributeDefinition |
getAttributeDefinition(String attributeName)
|
Set<String> |
getAttributeNames()
|
List<AttributeDefinition> |
getAttributes()
|
CollectionDefinition |
getCollectionDefinition(String collectionName)
|
Set<String> |
getCollectionNames()
|
List<CollectionDefinition> |
getCollections()
|
List<ComplexAttributeDefinition> |
getComplexAttributes()
|
abstract Class<?> |
getEntryClass()
|
RelationshipDefinition |
getRelationshipDefinition(String relationshipName)
|
Set<String> |
getRelationshipNames()
|
List<RelationshipDefinition> |
getRelationships()
|
StateMapping |
getStateMapping()
StateMapping for this DataDictionaryEntry, this represents the states of this entry, their names, and where to find the state information on the model |
void |
setAttributes(List<AttributeDefinition> attributes)
The attributes element contains attribute elements. |
void |
setCollections(List<CollectionDefinition> collections)
The collections element contains collection elements. |
void |
setComplexAttributes(List<ComplexAttributeDefinition> complexAttributes)
|
void |
setRelationships(List<RelationshipDefinition> relationships)
The relationships element contains relationship elements. |
void |
setStateMapping(StateMapping stateMapping)
Set the StateMapping object which represents state information for this entry |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
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.DataDictionaryEntry |
---|
getFullClassName, getJstlKey |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Field Detail |
---|
protected List<AttributeDefinition> attributes
protected List<ComplexAttributeDefinition> complexAttributes
protected List<CollectionDefinition> collections
protected List<RelationshipDefinition> relationships
protected Map<String,AttributeDefinition> attributeMap
protected Map<String,ComplexAttributeDefinition> complexAttributeMap
protected Map<String,CollectionDefinition> collectionMap
protected Map<String,RelationshipDefinition> relationshipMap
protected StateMapping stateMapping
Constructor Detail |
---|
public DataDictionaryEntryBase()
Method Detail |
---|
public abstract Class<?> getEntryClass()
public AttributeDefinition getAttributeDefinition(String attributeName)
getAttributeDefinition
in interface DataDictionaryEntry
attributeName
-
public List<AttributeDefinition> getAttributes()
public List<ComplexAttributeDefinition> getComplexAttributes()
public void setComplexAttributes(List<ComplexAttributeDefinition> complexAttributes)
complexAttributes
- the complexAttributes to setpublic CollectionDefinition getCollectionDefinition(String collectionName)
collectionName
-
public List<CollectionDefinition> getCollections()
public RelationshipDefinition getRelationshipDefinition(String relationshipName)
relationshipName
-
public List<RelationshipDefinition> getRelationships()
getRelationships
in interface DataDictionaryEntry
public void completeValidation()
completeValidation
in interface DataDictionaryEntry
public void completeValidation(ValidationTrace tracer)
completeValidation
in interface DataDictionaryEntry
tracer
- - Record of object's locationDataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
public void setAttributes(List<AttributeDefinition> attributes)
public void setCollections(List<CollectionDefinition> collections)
public void setRelationships(List<RelationshipDefinition> relationships)
public Set<String> getCollectionNames()
public Set<String> getAttributeNames()
public Set<String> getRelationshipNames()
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
InitializingBean.afterPropertiesSet()
public StateMapping getStateMapping()
DataDictionaryEntry
getStateMapping
in interface DataDictionaryEntry
DataDictionaryEntry.getStateMapping()
public void setStateMapping(StateMapping stateMapping)
DataDictionaryEntry
setStateMapping
in interface DataDictionaryEntry
stateMapping
- StateMapping objectDataDictionaryEntry.setStateMapping(org.kuali.rice.krad.datadictionary.state.StateMapping)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |