Class KrmsTypeAttribute

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.type.KrmsTypeAttribute
All Implemented Interfaces:
Serializable, Inactivatable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, KrmsTypeAttributeContract

public final class KrmsTypeAttribute extends AbstractDataTransferObject implements KrmsTypeAttributeContract
Concrete model object implementation of KRMS KrmsTypeAttributeContract

immutable. To construct an instance of a KrmsTypeAttribute, use the KrmsTypeAttribute.Builder class. Instances of KrmsTypeAttribute can be (un)marshalled to and from XML.

See Also:
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface Identifiable
    • getTypeId

      public String getTypeId()
      Description copied from interface: KrmsTypeAttributeContract
      Returns the id of the KrmsTypeDefinition to which the attribute applies

      A KRMS type definition has zero or more attributes associated with it. The id field indicates which type definition this attribute is associated with. It is the id of a KrmsTypeDefinition related to the attribute. This required field may not be null or blank.

      Specified by:
      getTypeId in interface KrmsTypeAttributeContract
      Returns:
      id for KrmsTypeDefinition related to the attribute.
    • getAttributeDefinitionId

      public String getAttributeDefinitionId()
      Description copied from interface: KrmsTypeAttributeContract
      Returns the id of the KrmsAttributeDefinition of the attribute.

      The attribute definition contains metadata about the attribute. This is a required field and may not be null or blank. Many attributes may share the same attribute definition.

      Specified by:
      getAttributeDefinitionId in interface KrmsTypeAttributeContract
      Returns:
      the attribute definition id
    • getSequenceNumber

      public Integer getSequenceNumber()
      Description copied from interface: KrmsTypeAttributeContract
      Returns the sequence number of the attribute within the KrmsTypeDefinition collection.

      The list of attributes is an ordered list. This value represents the position in the list and cannot be null.

      Specified by:
      getSequenceNumber in interface KrmsTypeAttributeContract
      Returns:
      the sequence number of the attribute
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface Inactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface Versioned