public final class KewTypeDefinition extends AbstractDataTransferObject implements KewTypeDefinitionContract
KewTypeDefinitionContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
KewTypeDefinition.Builder
This builder is used to construct instances of KEW KewType.
|
static class |
KewTypeDefinition.Elements
A private class which exposes constants which define the XML element names to use
when this object is marshalled to XML.
|
| Modifier and Type | Method and Description |
|---|---|
KewAttributeDefinition |
getAttributeDefinitionByName(String name)
Gets the KewTypeAttribute matching the name of it's KewAttribute.
|
List<KewTypeAttribute> |
getAttributes()
This method returns a list of attributes associated with the KewType
|
String |
getId() |
String |
getName()
This is the name for the KEWType
|
String |
getNamespace()
This is the namespace code.
|
String |
getServiceName()
This is the name of the KEW KewType service
|
Long |
getVersionNumber() |
boolean |
isActive() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
getId in interface Identifiablepublic String getName()
KewTypeDefinitionContractIt is a name of a KEW type.
getName in interface KewTypeDefinitionContractpublic String getNamespace()
KewTypeDefinitionContractIt provides scope of the KEW type.
getNamespace in interface KewTypeDefinitionContractpublic String getServiceName()
KewTypeDefinitionContractgetServiceName in interface KewTypeDefinitionContractpublic boolean isActive()
isActive in interface Inactivatablepublic List<KewTypeAttribute> getAttributes()
KewTypeDefinitionContractgetAttributes in interface KewTypeDefinitionContractpublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic KewAttributeDefinition 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 KewTypeAttribute's nameIllegalArgumentException - if the name is blankCopyright © 2005–2016 The Kuali Foundation. All rights reserved.