Class KrmsTypeDefinition
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.type.KrmsTypeDefinition
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.core.api.mo.ModelObjectComplete,KrmsTypeDefinitionContract
public final class KrmsTypeDefinition
extends org.kuali.rice.core.api.mo.AbstractDataTransferObject
implements KrmsTypeDefinitionContract
An immutable, concrete model object implementation of a
KrmsTypeDefinitionContract.
To construct an instance of a KrmsTypeDefinition, use the KrmsTypeDefinition.Builder class.
Instances of KrmsType can be (un)marshalled to and from XML.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis builder is used to construct instances of KrmsTypeDefinition.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 a list of attributes associated with the KRMS type definition.getId()getName()Returns the name of the KrmsTypeDefinition.Returns the namespace to which the KrmsTypeDefinition belongs.Returns the name of the service used to resolve attribute values.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 interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
getName
Description copied from interface:KrmsTypeDefinitionContractReturns the name of the KrmsTypeDefinition. All KrmsTypeDefinitions have a name, 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 interfaceKrmsTypeDefinitionContract- Returns:
- the name of this KrmsTypeDefinition
-
getNamespace
Description copied from interface:KrmsTypeDefinitionContractReturns the namespace to which the KrmsTypeDefinition belongs. All type definitions exist within a namespace. This value can not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.- Specified by:
getNamespacein interfaceKrmsTypeDefinitionContract- Returns:
- the namespace of this KrmsTypeDefinition
-
getServiceName
Description copied from interface:KrmsTypeDefinitionContractReturns the name of the service used to resolve attribute values. The service name may be null or blank.- Specified by:
getServiceNamein interfaceKrmsTypeDefinitionContract- Returns:
- the service name of this KrmsTypeDefinition
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getAttributes
Description copied from interface:KrmsTypeDefinitionContractReturns a list of attributes associated with the KRMS type definition. This can be empty, but will never be null. If no attribute definitions are associated with the KRMS type then this will return an empty collection.- Specified by:
getAttributesin interfaceKrmsTypeDefinitionContract- Returns:
- the list of KrmsTypeAttributeContract attribute definition contracts
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-