|
||||||||||
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 DataObjectMetadata |
dataObjectMetadata
|
protected static Set<String> |
EXCLUDED_PROPERTY_NAMES
|
protected Map<String,RelationshipDefinition> |
relationshipMap
|
protected List<RelationshipDefinition> |
relationships
|
protected StateMapping |
stateMapping
|
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
componentCode, namespaceCode |
Constructor Summary | |
---|---|
DataDictionaryEntryBase()
|
Method Summary | |
---|---|
void |
completeValidation()
Directly validate simple fields, call completeValidation on Definition fields. |
void |
completeValidation(ValidationTrace tracer)
Directly validate simple fields, call completeValidation on Definition fields. |
void |
dataDictionaryPostProcessing()
Perform any needed post-processing of the bean properties. |
protected void |
embedMetadata()
|
AttributeDefinition |
getAttributeDefinition(String attributeName)
|
Set<String> |
getAttributeNames()
|
List<AttributeDefinition> |
getAttributes()
|
CollectionDefinition |
getCollectionDefinition(String collectionName)
|
Set<String> |
getCollectionNames()
|
List<CollectionDefinition> |
getCollections()
|
List<ComplexAttributeDefinition> |
getComplexAttributes()
|
DataObjectMetadata |
getDataObjectMetadata()
|
abstract Class<?> |
getEntryClass()
|
RelationshipDefinition |
getRelationshipDefinition(String relationshipName)
|
Map<String,RelationshipDefinition> |
getRelationshipMap()
|
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 |
boolean |
hasEmbeddedDataObjectMetadata()
|
protected boolean |
hasExcludedHint(DataObjectAttribute attr)
Check the UifDisplayHint s on an attribute, return true if any of them have the
EXCLUDE type. |
protected void |
injectMetadataIntoAttributes(DataObjectMetadata dataObjectMetadata)
|
protected void |
injectMetadataIntoCollections(DataObjectMetadata dataObjectMetadata)
|
protected void |
injectMetadataIntoRelationships(DataObjectMetadata dataObjectMetadata)
Inject the metadata into the relationship definitions. |
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 |
setDataObjectMetadata(DataObjectMetadata dataObjectMetadata)
|
void |
setRelationshipMap(Map<String,RelationshipDefinition> relationshipMap)
|
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 |
---|
clone, copy, getComponentCode, getNamespaceCode, preventModification, setComponentCode, setNamespaceCode, unwrap |
Methods inherited from class java.lang.Object |
---|
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 DataObjectMetadata dataObjectMetadata
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
protected static final Set<String> EXCLUDED_PROPERTY_NAMES
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
protected void embedMetadata()
protected void injectMetadataIntoRelationships(DataObjectMetadata dataObjectMetadata)
dataObjectMetadata
- protected void injectMetadataIntoCollections(DataObjectMetadata dataObjectMetadata)
protected void injectMetadataIntoAttributes(DataObjectMetadata dataObjectMetadata)
protected boolean hasExcludedHint(DataObjectAttribute attr)
UifDisplayHint
s on an attribute, return true if any of them have the
EXCLUDE type.
public void dataDictionaryPostProcessing()
DictionaryBean
dataDictionaryPostProcessing
in interface DictionaryBean
dataDictionaryPostProcessing
in class DictionaryBeanBase
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 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)
public boolean hasEmbeddedDataObjectMetadata()
public DataObjectMetadata getDataObjectMetadata()
public void setDataObjectMetadata(DataObjectMetadata dataObjectMetadata)
public Map<String,RelationshipDefinition> getRelationshipMap()
public void setRelationshipMap(Map<String,RelationshipDefinition> relationshipMap)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |