Interface BaseAttributeContract

All Superinterfaces:
org.kuali.rice.core.api.mo.common.Identifiable
All Known Subinterfaces:
NaturalLanguageTemplateAttributeContract
All Known Implementing Classes:
BaseAttribute, BaseAttribute.Builder, NaturalLanguageTemplateAttribute, NaturalLanguageTemplateAttribute.Builder

public interface BaseAttributeContract extends org.kuali.rice.core.api.mo.common.Identifiable
Base interface intended for extension by other AttributeContract interfaces

This contains the common fields shared by all KRMS attributes.

Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • getAttributeDefinitionId

      String getAttributeDefinitionId()
      Returns the id of the attribute definition.

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

      Returns:
      the attribute definition id
    • getValue

      String getValue()
      Returns the value of the attribute
      Returns:
      the value of the attribute
    • getAttributeDefinition

      KrmsAttributeDefinitionContract getAttributeDefinition()
      Returns a KrmsAttributeDefinitionContract.

      This is the object referred to by the attributeDefinitionId. The full object is also kept here for performance purposes. This is because the name of the attribute is referenced often for resolving name / value attribute pairs.

      Returns:
      the attribute definition