public static final class KimType.Builder extends Object implements KimTypeContract, ModelBuilder, Serializable
KimTypeContract.| Modifier and Type | Method and Description |
|---|---|
KimType |
build() |
static KimType.Builder |
create()
creates a KimType with the required fields.
|
static KimType.Builder |
create(KimTypeContract contract)
creates a KimType from an existing
KimTypeContract. |
List<KimTypeAttribute.Builder> |
getAttributeDefinitions()
The list of attribute definitions associated with the kim type.
|
String |
getId() |
String |
getName()
The name of the kim type.
|
String |
getNamespaceCode()
The namespace code that this kim type belongs too.
|
String |
getObjectId() |
String |
getServiceName()
The service name used to resolve attribute values.
|
Long |
getVersionNumber() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setAttributeDefinitions(List<KimTypeAttribute.Builder> attributeDefinitions) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setObjectId(String objectId) |
void |
setServiceName(String serviceName) |
void |
setVersionNumber(Long versionNumber) |
public static KimType.Builder create()
public static KimType.Builder create(KimTypeContract contract)
KimTypeContract.public String getId()
getId in interface Identifiablepublic String getServiceName()
KimTypeContractgetServiceName in interface KimTypeContractpublic void setServiceName(String serviceName)
public String getNamespaceCode()
KimTypeContractgetNamespaceCode in interface KimTypeContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
KimTypeContractgetName in interface KimTypeContractpublic List<KimTypeAttribute.Builder> getAttributeDefinitions()
KimTypeContractgetAttributeDefinitions in interface KimTypeContractpublic void setAttributeDefinitions(List<KimTypeAttribute.Builder> attributeDefinitions)
public boolean isActive()
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public KimType build()
build in interface ModelBuilderCopyright © 2005–2017 The Kuali Foundation. All rights reserved.