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:
  • 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: KrmsTypeDefinitionContract
      Returns 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:
      getName in interface KrmsTypeDefinitionContract
      Returns:
      the name of this KrmsTypeDefinition
    • getNamespace

      public String getNamespace()
      Description copied from interface: KrmsTypeDefinitionContract
      Returns 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:
      getNamespace in interface KrmsTypeDefinitionContract
      Returns:
      the namespace of this KrmsTypeDefinition
    • getServiceName

      public String getServiceName()
      Description copied from interface: KrmsTypeDefinitionContract
      Returns the name of the service used to resolve attribute values. The service name may be null or blank.
      Specified by:
      getServiceName in interface KrmsTypeDefinitionContract
      Returns:
      the service name of this KrmsTypeDefinition
    • isActive

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

      public List<KrmsTypeAttribute> getAttributes()
      Description copied from interface: KrmsTypeDefinitionContract
      Returns 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:
      getAttributes in interface KrmsTypeDefinitionContract
      Returns:
      the list of KrmsTypeAttributeContract attribute definition contracts
    • getVersionNumber

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