Class EntityAffiliation.Builder

java.lang.Object
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.Defaultable, 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, EntityAffiliationContract
Enclosing class:
EntityAffiliation

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

    • create

      public static EntityAffiliation.Builder create()
    • create

      public static EntityAffiliation.Builder create(EntityAffiliationContract contract)
    • build

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

      public String getEntityId()
      Description copied from interface: EntityAffiliationContract
      Gets this id of the parent identity object.
      Specified by:
      getEntityId in interface EntityAffiliationContract
      Returns:
      the identity id for this
      invalid reference
      EntityAddressContract
    • getAffiliationType

      public EntityAffiliationType.Builder getAffiliationType()
      Description copied from interface: EntityAffiliationContract
      Gets this
      invalid reference
      KimEntityAffiliation
      's type.
      Specified by:
      getAffiliationType in interface EntityAffiliationContract
      Returns:
      the type for this
      invalid reference
      KimEntityAffiliation
      , or null if none has been assigned.
    • getCampusCode

      public String getCampusCode()
      Description copied from interface: EntityAffiliationContract
      Gets this
      invalid reference
      KimEntityAffiliation
      's campus code.
      Specified by:
      getCampusCode in interface EntityAffiliationContract
      Returns:
      the campus code for this
      invalid reference
      KimEntityAffiliation
      , or null if none has been assigned.
    • 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
    • isDefaultValue

      public boolean isDefaultValue()
      Specified by:
      isDefaultValue in interface org.kuali.rice.core.api.mo.common.Defaultable
    • isActive

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

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

      public void setEntityId(String entityId)
    • setAffiliationType

      public void setAffiliationType(EntityAffiliationType.Builder affiliationType)
    • setCampusCode

      public void setCampusCode(String campusCode)
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
    • setObjectId

      public void setObjectId(String objectId)
    • setDefaultValue

      public void setDefaultValue(boolean defaultValue)
    • setActive

      public void setActive(boolean active)
    • setId

      public void setId(String id)