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,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,CodedAttributeContract
- Enclosing class:
CodedAttribute
public static final class CodedAttribute.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.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 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
-
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
-
setVersionNumber
-
setObjectId
-
setActive
public void setActive(boolean active)
-