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
instances. Enforces the constraints of the
.
invalid reference
CodedAttribute
invalid reference
CodedAttributeContract
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create(EntityAffiliationTypeContract contract) getCode()getName()This the name for the AddressType.This the sort code for the AddressType.booleanisActive()booleanThis value determines if the Affiliation Type is an employment type.voidsetActive(boolean active) voidvoidsetEmploymentAffiliationType(boolean employmentAffiliationType) voidvoidsetObjectId(String objectId) voidsetSortCode(String sortCode) voidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getName
Description copied from interface:CodedAttributeContractThis the name for the AddressType. This can be null or a blank string.- Specified by:
getNamein interfaceCodedAttributeContract- Returns:
- the name of the AddressType
-
getCode
- Specified by:
getCodein interfaceorg.kuali.rice.core.api.mo.common.Coded
-
getSortCode
Description copied from interface:CodedAttributeContractThis the sort code for the AddressType. This can be null or a blank string.- Specified by:
getSortCodein interfaceCodedAttributeContract- Returns:
- the sort code of the AddressType
-
isEmploymentAffiliationType
public boolean isEmploymentAffiliationType()Description copied from interface:EntityAffiliationTypeContractThis value determines if the Affiliation Type is an employment type.- Specified by:
isEmploymentAffiliationTypein interfaceEntityAffiliationTypeContract- Returns:
- the boolean value representing if type is an employment type
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getObjectId
- Specified by:
getObjectIdin interfaceorg.kuali.rice.core.api.mo.common.GloballyUnique
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
setName
-
setCode
-
setSortCode
-
setEmploymentAffiliationType
public void setEmploymentAffiliationType(boolean employmentAffiliationType) -
setVersionNumber
-
setObjectId
-
setActive
public void setActive(boolean active)
-