Class CodedAttribute.Builder

java.lang.Object
org.kuali.rice.kim.api.identity.CodedAttribute.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.Coded, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelBuilder, CodedAttributeContract
Enclosing class:
CodedAttribute

public static final class CodedAttribute.Builder extends Object implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, CodedAttributeContract
A builder which can be used to construct CodedAttribute instances. Enforces the constraints of the CodedAttributeContract.
See Also:
  • Method Details

    • create

      public static CodedAttribute.Builder create(String code)
    • create

      public static CodedAttribute.Builder create(CodedAttributeContract contract)
    • build

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

      public String getName()
      Description copied from interface: CodedAttributeContract
      This the name for the AddressType. This can be null or a blank string.
      Specified by:
      getName in interface CodedAttributeContract
      Returns:
      the name of the AddressType
    • getCode

      public String getCode()
      Specified by:
      getCode in interface org.kuali.rice.core.api.mo.common.Coded
    • getSortCode

      public String getSortCode()
      Description copied from interface: CodedAttributeContract
      This the sort code for the AddressType. This can be null or a blank string.
      Specified by:
      getSortCode in interface CodedAttributeContract
      Returns:
      the sort code of the AddressType
    • getVersionNumber

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

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

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

      public void setName(String name)
    • setCode

      public void setCode(String code)
    • setSortCode

      public void setSortCode(String sortCode)
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
    • setObjectId

      public void setObjectId(String objectId)
    • setActive

      public void setActive(boolean active)