@Entity public class TermSpecificationBo extends Object implements TermSpecificationDefinitionContract, Serializable
| Constructor and Description | 
|---|
| TermSpecificationBo() | 
| Modifier and Type | Method and Description | 
|---|---|
| static TermSpecificationBo | from(TermSpecificationDefinition im)Converts a immutable object to it's mutable bo counterpart | 
| boolean | getActive() | 
| List<CategoryBo> | 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. | 
| List<ContextBo> | getContexts() | 
| List<ContextValidTermBo> | getContextValidTerms() | 
| 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()The unique identifier for an object. | 
| 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. | 
| void | setActive(boolean active) | 
| void | setCategories(List<CategoryBo> categories) | 
| void | setContextIds(List<String> contextIds) | 
| void | setContexts(List<ContextBo> contexts) | 
| void | setContextValidTerms(List<ContextValidTermBo> contextValidTerms) | 
| void | setDescription(String description) | 
| void | setId(String id) | 
| void | setName(String name) | 
| void | setNamespace(String namespace) | 
| void | setType(String type) | 
| void | setVersionNumber(Long versionNumber) | 
| static TermSpecificationDefinition | to(TermSpecificationBo bo)Converts a mutable bo to it's immutable counterpart | 
public TermSpecificationBo()
public static TermSpecificationDefinition to(TermSpecificationBo bo)
bo - the mutable business objectpublic static TermSpecificationBo from(TermSpecificationDefinition im)
im - immutable objectpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getName()
TermSpecificationDefinitionContractTermSpecificationDefinitionContract.  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 TermSpecificationDefinitionContractpublic String getNamespace()
TermSpecificationDefinitionContractTermSpecificationDefinitionContract.  Will not be null or empty.getNamespace in interface TermSpecificationDefinitionContractpublic void setNamespace(String namespace)
public String getType()
TermSpecificationDefinitionContractBigDecimal,
 then the term specification's type would be the String "java.math.BigDecimal".  Will never return null or
 the empty string.getType in interface TermSpecificationDefinitionContractpublic String getDescription()
TermSpecificationDefinitionContractgetDescription in interface TermSpecificationDefinitionContractpublic void setDescription(String description)
public boolean getActive()
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public List<CategoryBo> getCategories()
TermSpecificationDefinitionContractgetCategories in interface TermSpecificationDefinitionContractpublic void setCategories(List<CategoryBo> categories)
public List<String> getContextIds()
TermSpecificationDefinitionContractgetContextIds in interface TermSpecificationDefinitionContractpublic void setContextIds(List<String> contextIds)
public List<ContextBo> getContexts()
public void setContexts(List<ContextBo> contexts)
public List<ContextValidTermBo> getContextValidTerms()
public void setContextValidTerms(List<ContextValidTermBo> contextValidTerms)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.