Class EntityAffiliationType.Builder

java.lang.Object
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType.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, EntityAffiliationTypeContract, CodedAttributeContract
Enclosing class:
EntityAffiliationType

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

    • create

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

    • build

      public EntityAffiliationType 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
    • isEmploymentAffiliationType

      public boolean isEmploymentAffiliationType()
      Description copied from interface: EntityAffiliationTypeContract
      This value determines if the Affiliation Type is an employment type.
      Specified by:
      isEmploymentAffiliationType in interface EntityAffiliationTypeContract
      Returns:
      the boolean value representing if type is an employment type
    • 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)
    • setEmploymentAffiliationType

      public void setEmploymentAffiliationType(boolean employmentAffiliationType)
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
    • setObjectId

      public void setObjectId(String objectId)
    • setActive

      public void setActive(boolean active)