Class KrmsAttributeDefinition
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.type.KrmsAttributeDefinition
- All Implemented Interfaces:
Serializable,Inactivatable,Identifiable,Versioned,ModelObjectBasic,ModelObjectComplete,KrmsAttributeDefinitionContract
public final class KrmsAttributeDefinition
extends AbstractDataTransferObject
implements KrmsAttributeDefinitionContract
Concrete model object implementation of KRMS KrmsAttributeDefinition.
immutable. To construct an instance of a KrmsTypeAttribute, use the KrmsTypeAttribute.Builder class.
Instances of KrmsAttributeDefinition can be (un)marshalled to and from XML.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis builder is used to construct instances of KrmsAttributeDefinition.static classstatic classA private class which exposes constants which define the XML element names to use when this object is marshalled to XML. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the component used to display the attribute.Returns the description of the attribute.getId()getLabel()Returns the label of this attribute definition.getName()Returns the name of this attribute definition.Returns the namespace of this attribute definition.booleanisActive()Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
getName
Description copied from interface:KrmsAttributeDefinitionContractReturns the name of this attribute definition.All attribute definitions have a name and namespace, so this value can not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.
- Specified by:
getNamein interfaceKrmsAttributeDefinitionContract- Returns:
- name for this attribute definition
-
getNamespace
Description copied from interface:KrmsAttributeDefinitionContractReturns the namespace of this attribute definition.The namespace provides scope of the the attribute definition. All attribute definition have a name and namespace, so this field may not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.
- Specified by:
getNamespacein interfaceKrmsAttributeDefinitionContract- Returns:
- the namespace of this attribute definition
-
getLabel
Description copied from interface:KrmsAttributeDefinitionContractReturns the label of this attribute definition.This is an optional field and may be null or blank.
- Specified by:
getLabelin interfaceKrmsAttributeDefinitionContract- Returns:
- the label to be used when displaying the attribute
-
getDescription
Description copied from interface:KrmsAttributeDefinitionContractReturns the description of the attribute.This is an option field and may be null or blank.
- Specified by:
getDescriptionin interfaceKrmsAttributeDefinitionContract- Returns:
- a text description of the attribute
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
getComponentName
Description copied from interface:KrmsAttributeDefinitionContractReturns the name of the component used to display the attribute.- Specified by:
getComponentNamein interfaceKrmsAttributeDefinitionContract- Returns:
- the component name of the of the attribute
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-