public final class KrmsTypeAttribute extends AbstractDataTransferObject implements KrmsTypeAttributeContract
KrmsTypeAttributeContract
immutable. To construct an instance of a KrmsTypeAttribute, use the KrmsTypeAttribute.Builder class.
Instances of KrmsTypeAttribute can be (un)marshalled to and from XML.
| Modifier and Type | Class and Description |
|---|---|
static class |
KrmsTypeAttribute.Builder
This builder is used to construct instances of KrmsTypeAttribute.
|
static class |
KrmsTypeAttribute.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 |
|---|---|
String |
getAttributeDefinitionId()
Returns the id of the KrmsAttributeDefinition of the attribute.
|
String |
getId() |
Integer |
getSequenceNumber()
Returns the sequence number of the attribute within the KrmsTypeDefinition collection.
|
String |
getTypeId()
Returns the id of the KrmsTypeDefinition to which the attribute applies
|
Long |
getVersionNumber() |
boolean |
isActive() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
getId in interface Identifiablepublic String getTypeId()
KrmsTypeAttributeContractA KRMS type definition has zero or more attributes associated with it. The id field indicates which type definition this attribute is associated with. It is the id of a KrmsTypeDefinition related to the attribute. This required field may not be null or blank.
getTypeId in interface KrmsTypeAttributeContractpublic String getAttributeDefinitionId()
KrmsTypeAttributeContractThe attribute definition contains metadata about the attribute. This is a required field and may not be null or blank. Many attributes may share the same attribute definition.
getAttributeDefinitionId in interface KrmsTypeAttributeContractpublic Integer getSequenceNumber()
KrmsTypeAttributeContractThe list of attributes is an ordered list. This value represents the position in the list and cannot be null.
getSequenceNumber in interface KrmsTypeAttributeContractpublic boolean isActive()
isActive in interface Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface VersionedCopyright © 2005–2016 The Kuali Foundation. All rights reserved.