Class EntityAffiliationType.Builder
java.lang.Object
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType.Builder
- All Implemented Interfaces:
Serializable,Inactivatable,Coded,GloballyUnique,Versioned,ModelBuilder,EntityAffiliationTypeContract,CodedAttributeContract
- Enclosing class:
- EntityAffiliationType
public static final class EntityAffiliationType.Builder
extends Object
implements Serializable, ModelBuilder, EntityAffiliationTypeContract
A builder which can be used to construct
CodedAttribute instances. Enforces the constraints of the 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 interfaceModelBuilder
-
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
-
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 interfaceVersioned
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
setName
-
setCode
-
setSortCode
-
setEmploymentAffiliationType
public void setEmploymentAffiliationType(boolean employmentAffiliationType) -
setVersionNumber
-
setObjectId
-
setActive
public void setActive(boolean active)
-