Class CategoryDefinition

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.category.CategoryDefinition
All Implemented Interfaces:
Serializable, 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, CategoryDefinitionContract

public class CategoryDefinition extends org.kuali.rice.core.api.mo.AbstractDataTransferObject implements CategoryDefinitionContract
An immutable representation of a category definition.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    This builder is used to construct instances of CategoryDefinition.
    static class 
    A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the name of the category definition.
    Returns the namespace of the category definition.
     

    Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject

    afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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: CategoryDefinitionContract
      Returns the name of the category definition. The combination of name and namespaceCode represent a unique business key for the category definition. The name should never be null or blank.
      Specified by:
      getName in interface CategoryDefinitionContract
      Returns:
      the name of the category definition, should never be null or blank
    • getNamespace

      public String getNamespace()
      Description copied from interface: CategoryDefinitionContract
      Returns the namespace of the category definition. The combination of namespace and name represent a unique business key for the category definition. The namespace should never be null or blank.
      Specified by:
      getNamespace in interface CategoryDefinitionContract
      Returns:
      the namespace of the category definition, should never be null or blank
    • getVersionNumber

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