public final class KimType extends AbstractDataTransferObject implements KimTypeContract
KimTypeContract.
To construct an instance of a KimType, use the KimType.Builder class.
KimTypeContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
KimType.Builder
This builder constructs an KimType enforcing the constraints of the
KimTypeContract. |
static class |
KimType.Cache |
| Modifier and Type | Method and Description |
|---|---|
KimTypeAttribute |
getAttributeDefinitionById(String id)
Gets the KimTypeAttribute matching the id of it's KimAttribute.
|
KimTypeAttribute |
getAttributeDefinitionByName(String name)
Gets the KimTypeAttribute matching the name of it's KimAttribute.
|
List<KimTypeAttribute> |
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() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic KimTypeAttribute getAttributeDefinitionById(String id)
If multiple exist with the same id then the first match is returned. Since id is supposed to be unique this should not be a problem in practice.
id - the KimTypeAttribute.KimAttribute's idIllegalArgumentException - if the id is blankpublic KimTypeAttribute getAttributeDefinitionByName(String name)
If multiple exist with the same name then the first match is returned. Since name is supposed to be unique this should not be a problem in practice.
name - the KimTypeAttribute's nameIllegalArgumentException - if the name is blankpublic String getId()
getId in interface Identifiablepublic String getServiceName()
KimTypeContractgetServiceName in interface KimTypeContractpublic String getNamespaceCode()
KimTypeContractgetNamespaceCode in interface KimTypeContractpublic String getName()
KimTypeContractgetName in interface KimTypeContractpublic List<KimTypeAttribute> getAttributeDefinitions()
KimTypeContractgetAttributeDefinitions in interface KimTypeContractpublic boolean isActive()
isActive in interface Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniqueCopyright © 2005–2017 The Kuali Foundation. All rights reserved.