public final class TermSpecificationDefinition extends AbstractDataTransferObject implements TermSpecificationDefinitionContract
TermSpecificationDefinition.Builder
inner class.Modifier and Type | Class and Description |
---|---|
static class |
TermSpecificationDefinition.Builder
Builder for the
TermSpecificationDefinition immutable DTO. |
static class |
TermSpecificationDefinition.Cache |
Modifier and Type | Method and Description |
---|---|
List<CategoryDefinition> |
getCategories()
Gets an ordered list of the categories which this term specification
definition belongs to.
|
List<String> |
getContextIds()
Gets a list of the IDs for the contexts this TermSpecification can be used in.
|
String |
getDescription()
Gets the description for this term specification, which will typically be a suitable description for
any term having this specification as well.
|
String |
getId()
This value will be non-null for persisted
|
String |
getName()
Gets the name for this
TermSpecificationDefinitionContract . |
String |
getNamespace()
Gets the namespace of this
TermSpecificationDefinitionContract . |
String |
getType()
Gets the fully qualified class name for the values of any term having this specification.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public String getId()
getId
in interface Identifiable
Identifiable.getId()
public String getName()
TermSpecificationDefinitionContract
TermSpecificationDefinitionContract
. This is an important key
that must be unique within a namespace, and is used to determine how to resolve any terms
having this specification. Will not be null or empty.getName
in interface TermSpecificationDefinitionContract
TermSpecificationDefinitionContract.getName()
public String getNamespace()
TermSpecificationDefinitionContract
TermSpecificationDefinitionContract
. Will not be null or empty.getNamespace
in interface TermSpecificationDefinitionContract
public String getType()
TermSpecificationDefinitionContract
BigDecimal
,
then the term specification's type would be the String "java.math.BigDecimal". Will never return null or
the empty string.getType
in interface TermSpecificationDefinitionContract
TermSpecificationDefinitionContract.getType()
public String getDescription()
TermSpecificationDefinitionContract
getDescription
in interface TermSpecificationDefinitionContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
Versioned.getVersionNumber()
public List<CategoryDefinition> getCategories()
TermSpecificationDefinitionContract
getCategories
in interface TermSpecificationDefinitionContract
TermSpecificationDefinitionContract.getCategories()
public List<String> getContextIds()
TermSpecificationDefinitionContract
getContextIds
in interface TermSpecificationDefinitionContract
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.