Package org.kuali.rice.kim.api.type
Class KimTypeAttribute.Builder
java.lang.Object
org.kuali.rice.kim.api.type.KimTypeAttribute.Builder
- All Implemented Interfaces:
Serializable,Inactivatable,GloballyUnique,Identifiable,Versioned,ModelBuilder,KimTypeAttributeContract
- Enclosing class:
KimTypeAttribute
public static final class KimTypeAttribute.Builder
extends Object
implements KimTypeAttributeContract, ModelBuilder, Serializable
This builder constructs an KimTypeAttribute enforcing the constraints of the
KimTypeAttributeContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static KimTypeAttribute.Buildercreate()creates a KimTypeAttribute with the required fields.static KimTypeAttribute.Buildercreate(KimTypeAttributeContract contract) creates a KimTypeAttribute from an existingKimTypeAttributeContract.getId()The kim attribute associated with the kim type attribute.The kim type id associated with the kim type attribute.The alpha and/or numeric code used to choose an order for displaying KimTypeAttributes.booleanisActive()voidsetActive(boolean active) voidvoidsetKimAttribute(KimAttribute.Builder kimAttribute) voidsetKimTypeId(String kimTypeId) voidsetObjectId(String objectId) voidsetSortCode(String sortCode) voidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
creates a KimTypeAttribute with the required fields. -
create
creates a KimTypeAttribute from an existingKimTypeAttributeContract. -
getId
- Specified by:
getIdin interfaceIdentifiable
-
setId
-
getSortCode
Description copied from interface:KimTypeAttributeContractThe alpha and/or numeric code used to choose an order for displaying KimTypeAttributes. This can be null or blank.- Specified by:
getSortCodein interfaceKimTypeAttributeContract- Returns:
- the sort code.
-
setSortCode
-
getKimAttribute
Description copied from interface:KimTypeAttributeContractThe kim attribute associated with the kim type attribute. This can be null if no KimAttributes are associated.- Specified by:
getKimAttributein interfaceKimTypeAttributeContract- Returns:
- the kim attribute
-
setKimAttribute
-
getKimTypeId
Description copied from interface:KimTypeAttributeContractThe kim type id associated with the kim type attribute. This can be null if no KimType is associated.- Specified by:
getKimTypeIdin interfaceKimTypeAttributeContract- Returns:
- the kim type id
-
setKimTypeId
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
setActive
public void setActive(boolean active) -
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
setVersionNumber
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
setObjectId
-
build
- Specified by:
buildin interfaceModelBuilder
-