Package org.kuali.rice.kim.api.identity
Class CodedAttribute.Builder
java.lang.Object
org.kuali.rice.kim.api.identity.CodedAttribute.Builder
- All Implemented Interfaces:
Serializable,Inactivatable,Coded,GloballyUnique,Versioned,ModelBuilder,CodedAttributeContract
- Enclosing class:
- CodedAttribute
public static final class CodedAttribute.Builder
extends Object
implements Serializable, ModelBuilder, CodedAttributeContract
A builder which can be used to construct
CodedAttribute instances. Enforces the constraints of the CodedAttributeContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CodedAttribute.Builderstatic CodedAttribute.Buildercreate(CodedAttributeContract contract) getCode()getName()This the name for the AddressType.This the sort code for the AddressType.booleanisActive()voidsetActive(boolean active) voidvoidvoidsetObjectId(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
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
setName
-
setCode
-
setSortCode
-
setVersionNumber
-
setObjectId
-
setActive
public void setActive(boolean active)
-