Class KimTypeAttribute.Builder

java.lang.Object
org.kuali.rice.kim.api.type.KimTypeAttribute.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelBuilder, KimTypeAttributeContract
Enclosing class:
KimTypeAttribute

public static final class KimTypeAttribute.Builder extends Object implements KimTypeAttributeContract, org.kuali.rice.core.api.mo.ModelBuilder, Serializable
This builder constructs an KimTypeAttribute enforcing the constraints of the KimTypeAttributeContract.
See Also:
  • Method Details

    • create

      public static KimTypeAttribute.Builder create()
      creates a KimTypeAttribute with the required fields.
    • create

      public static KimTypeAttribute.Builder create(KimTypeAttributeContract contract)
      creates a KimTypeAttribute from an existing KimTypeAttributeContract.
    • getId

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

      public void setId(String id)
    • getSortCode

      public String getSortCode()
      Description copied from interface: KimTypeAttributeContract
      The alpha and/or numeric code used to choose an order for displaying KimTypeAttributes. This can be null or blank.
      Specified by:
      getSortCode in interface KimTypeAttributeContract
      Returns:
      the sort code.
    • setSortCode

      public void setSortCode(String sortCode)
    • getKimAttribute

      public KimAttribute.Builder getKimAttribute()
      Description copied from interface: KimTypeAttributeContract
      The kim attribute associated with the kim type attribute. This can be null if no KimAttributes are associated.
      Specified by:
      getKimAttribute in interface KimTypeAttributeContract
      Returns:
      the kim attribute
    • setKimAttribute

      public void setKimAttribute(KimAttribute.Builder kimAttribute)
    • getKimTypeId

      public String getKimTypeId()
      Description copied from interface: KimTypeAttributeContract
      The kim type id associated with the kim type attribute. This can be null if no KimType is associated.
      Specified by:
      getKimTypeId in interface KimTypeAttributeContract
      Returns:
      the kim type id
    • setKimTypeId

      public void setKimTypeId(String kimTypeId)
    • isActive

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

      public void setActive(boolean active)
    • getVersionNumber

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

      public void setVersionNumber(Long versionNumber)
    • getObjectId

      public String getObjectId()
      Specified by:
      getObjectId in interface org.kuali.rice.core.api.mo.common.GloballyUnique
    • setObjectId

      public void setObjectId(String objectId)
    • build

      public KimTypeAttribute build()
      Specified by:
      build in interface org.kuali.rice.core.api.mo.ModelBuilder