Class KrmsAttributeDefinition

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.type.KrmsAttributeDefinition
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, KrmsAttributeDefinitionContract

public final class KrmsAttributeDefinition extends org.kuali.rice.core.api.mo.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:
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • getName

      public String getName()
      Description copied from interface: KrmsAttributeDefinitionContract
      Returns 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:
      getName in interface KrmsAttributeDefinitionContract
      Returns:
      name for this attribute definition
    • getNamespace

      public String getNamespace()
      Description copied from interface: KrmsAttributeDefinitionContract
      Returns 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:
      getNamespace in interface KrmsAttributeDefinitionContract
      Returns:
      the namespace of this attribute definition
    • getLabel

      public String getLabel()
      Description copied from interface: KrmsAttributeDefinitionContract
      Returns the label of this attribute definition.

      This is an optional field and may be null or blank.

      Specified by:
      getLabel in interface KrmsAttributeDefinitionContract
      Returns:
      the label to be used when displaying the attribute
    • getDescription

      public String getDescription()
      Description copied from interface: KrmsAttributeDefinitionContract
      Returns the description of the attribute.

      This is an option field and may be null or blank.

      Specified by:
      getDescription in interface KrmsAttributeDefinitionContract
      Returns:
      a text description of the attribute
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
    • getComponentName

      public String getComponentName()
      Description copied from interface: KrmsAttributeDefinitionContract
      Returns the name of the component used to display the attribute.
      Specified by:
      getComponentName in interface KrmsAttributeDefinitionContract
      Returns:
      the component name of the of the attribute
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned