Class DataObjectEntry
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
org.kuali.rice.krad.datadictionary.DataObjectEntry
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DataDictionaryEntry,DictionaryBean,Constrainable,MustOccurConstrainable
- Direct Known Subclasses:
BusinessObjectEntry
Generic dictionary entry for an object that does not have to implement BusinessObject. It provides support
for general objects
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?> protected booleanprotected Class<?> protected Class<? extends org.kuali.rice.krad.bo.Exporter> protected HelpDefinitionprotected List<InactivationBlockingDefinition> protected List<MustOccurConstraint> protected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
attributeMap, attributes, collectionMap, collections, complexAttributeMap, complexAttributes, dataObjectMetadata, EXCLUDED_PROPERTY_NAMES, relationshipMap, relationships, stateMappingFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDirectly validate simple fields, call completeValidation on Definition fields.voidcompleteValidation(ValidationTrace tracer) Directly validate simple fieldsClass<?> Class<?> Class<?> Class<? extends org.kuali.rice.krad.bo.Exporter> Returns the full class name of the underlying object.Provides list of attributes that should be used for grouping when performing effective dating logic in the frameworkGets the helpDefinition attribute.Gets the inactivationBlockingDefinitions for the Data objectgetName()booleanGets the boNotesEnabled flag for the Data objectvoidsetBaseDataObjectClass(Class<?> baseDataObjectClass) The baseDataObjectClass is an optional parameter for specifying a base class for the dataObjectClass, allowing the data dictionary to index by the base class in addition to the current class.voidsetBoNotesEnabled(boolean boNotesEnabled) Setter for the boNotesEnabled flagvoidsetDataObjectClass(Class<?> dataObjectClass) voidsetExporterClass(Class<? extends org.kuali.rice.krad.bo.Exporter> exporterClass) voidsetGroupByAttributesForEffectiveDating(List<String> groupByAttributesForEffectiveDating) Setter for the list of attributes to group byvoidsetHelpDefinition(HelpDefinition helpDefinition) Sets the helpDefinition attribute value.voidsetInactivationBlockingDefinitions(List<InactivationBlockingDefinition> inactivationBlockingDefinitions) Setter for the inactivationBlockingDefinitionsvoidsetMustOccurConstraints(List<MustOccurConstraint> mustOccurConstraints) voidvoidsetObjectDescription(String objectDescription) The objectDescription provides a brief description of the business object for use on help screens.voidsetObjectLabel(String objectLabel) The objectLabel provides a short name of the business object for use on help screens.voidsetPrimaryKeys(List<String> primaryKeys) voidsetTitleAttribute(String titleAttribute) The titleAttribute element is the name of the attribute that will be used as an inquiry field when the lookup search results fields are displayed.Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
dataDictionaryPostProcessing, embedMetadata, getAttributeDefinition, getAttributeNames, getAttributes, getCollectionDefinition, getCollectionNames, getCollections, getComplexAttributes, getDataObjectMetadata, getRelationshipDefinition, getRelationshipMap, getRelationshipNames, getRelationships, getStateMapping, hasEmbeddedDataObjectMetadata, injectMetadataIntoAttributes, injectMetadataIntoCollections, injectMetadataIntoRelationships, setAttributes, setCollections, setComplexAttributes, setDataObjectMetadata, setRelationshipMap, setRelationships, setStateMappingMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode, getNamespaceCode
-
Field Details
-
name
-
dataObjectClass
-
baseDataObjectClass
-
titleAttribute
-
objectLabel
-
objectDescription
-
-
exporterClass
-
mustOccurConstraints
-
groupByAttributesForEffectiveDating
-
helpDefinition
-
boNotesEnabled
protected boolean boNotesEnabled -
inactivationBlockingDefinitions
-
-
Constructor Details
-
DataObjectEntry
public DataObjectEntry()
-
-
Method Details
-
completeValidation
public void completeValidation()Description copied from class:DataDictionaryEntryBaseDirectly validate simple fields, call completeValidation on Definition fields.- Specified by:
completeValidationin interfaceDataDictionaryEntry- Overrides:
completeValidationin classDataDictionaryEntryBase
-
completeValidation
Directly validate simple fields- Specified by:
completeValidationin interfaceDataDictionaryEntry- Overrides:
completeValidationin classDataDictionaryEntryBase- Parameters:
tracer- - Record of object's location- See Also:
-
getJstlKey
- Specified by:
getJstlKeyin interfaceDataDictionaryEntry- Returns:
- String used as a globally-unique key for this entry's jstl-exported version
- See Also:
-
getFullClassName
Description copied from interface:DataDictionaryEntryReturns the full class name of the underlying object.- Specified by:
getFullClassNamein interfaceDataDictionaryEntry- See Also:
-
getEntryClass
- Specified by:
getEntryClassin classDataDictionaryEntryBase- See Also:
-
getDataObjectClass
- Returns:
- the dataObjectClass
-
setDataObjectClass
- Parameters:
dataObjectClass- the dataObjectClass to set
-
setBaseDataObjectClass
The baseDataObjectClass is an optional parameter for specifying a base class for the dataObjectClass, allowing the data dictionary to index by the base class in addition to the current class. -
getBaseDataObjectClass
-
getName
- Specified by:
getNamein interfaceConstrainable- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getObjectLabel
- Returns:
- Returns the objectLabel.
-
setObjectLabel
The objectLabel provides a short name of the business object for use on help screens.- Parameters:
objectLabel- The objectLabel to set.
-
getObjectDescription
- Returns:
- Returns the description.
-
setObjectDescription
The objectDescription provides a brief description of the business object for use on help screens.- Parameters:
objectDescription- The description to set
-
getHelpDefinition
Gets the helpDefinition attribute.- Returns:
- Returns the helpDefinition.
-
setHelpDefinition
Sets the helpDefinition attribute value. The objectHelp element provides the keys to obtain a help description from the system parameters table. parameterNamespace the namespace of the parameter containing help information parameterName the name of the parameter containing help information parameterDetailType the detail type of the parameter containing help information- Parameters:
helpDefinition- The helpDefinition to set.
-
getMustOccurConstraints
- Specified by:
getMustOccurConstraintsin interfaceMustOccurConstrainable- Returns:
- the mustOccurConstraints
-
setMustOccurConstraints
- Parameters:
mustOccurConstraints- the mustOccurConstraints to set
-
getTitleAttribute
- Returns:
- the titleAttribute
-
setTitleAttribute
The titleAttribute element is the name of the attribute that will be used as an inquiry field when the lookup search results fields are displayed. For some business objects, there is no obvious field to serve as the inquiry field. in that case a special field may be required for inquiry purposes. -
getPrimaryKeys
- Returns:
- the primaryKeys
-
setPrimaryKeys
- Parameters:
primaryKeys- the primaryKeys to set
-
getExporterClass
-
setExporterClass
-
getGroupByAttributesForEffectiveDating
Provides list of attributes that should be used for grouping when performing effective dating logic in the framework- Returns:
- List<String> list of attributes to group by
-
setGroupByAttributesForEffectiveDating
public void setGroupByAttributesForEffectiveDating(List<String> groupByAttributesForEffectiveDating) Setter for the list of attributes to group by -
isBoNotesEnabled
public boolean isBoNotesEnabled()Gets the boNotesEnabled flag for the Data objecttrue indicates that notes and attachments will be permanently associated with the business object false indicates that notes and attachments are associated with the document used to create or edit the business object.
- Returns:
- the boNotesEnabled flag
-
setBoNotesEnabled
public void setBoNotesEnabled(boolean boNotesEnabled) Setter for the boNotesEnabled flag -
getInactivationBlockingDefinitions
Gets the inactivationBlockingDefinitions for the Data object- Returns:
- the list of
InactivationBlockingDefinition
-
setInactivationBlockingDefinitions
public void setInactivationBlockingDefinitions(List<InactivationBlockingDefinition> inactivationBlockingDefinitions) Setter for the inactivationBlockingDefinitions
-