@Entity public class TermBo extends Object implements TermDefinitionContract, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
TERM_SEQ_NAME |
protected Long |
versionNumber |
Constructor and Description |
---|
TermBo() |
Modifier and Type | Method and Description |
---|---|
void |
exportToParametersMap() |
static TermBo |
from(TermDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
String |
getDescription()
Get the description for this
TermDefinitionContract . |
String |
getId()
The unique identifier for an object.
|
List<TermParameterBo> |
getParameters()
Get any parameters specified on this
TermDefinitionContract . |
Map<String,String> |
getParametersMap() |
TermSpecificationBo |
getSpecification()
Get the associated
TermSpecificationDefinitionContract which specifies some important details about
the term. |
String |
getSpecificationId() |
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
importFromParametersMap() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setParameters(List<TermParameterBo> parameters) |
void |
setSpecification(TermSpecificationBo specification) |
void |
setSpecificationId(String specificationId) |
void |
setVersionNumber(Long versionNumber) |
static TermDefinition |
to(TermBo bo)
Converts a mutable bo to it's immutable counterpart
|
public static final String TERM_SEQ_NAME
protected Long versionNumber
public TermBo()
public static TermDefinition to(TermBo bo)
bo
- the mutable business objectpublic static TermBo from(TermDefinition im)
im
- immutable objectpublic TermSpecificationBo getSpecification()
TermDefinitionContract
TermSpecificationDefinitionContract
which specifies some important details about
the term. Will not be null.getSpecification
in interface TermDefinitionContract
public void setSpecification(TermSpecificationBo specification)
public List<TermParameterBo> getParameters()
TermDefinitionContract
TermDefinitionContract
. May be empty, but never null.getParameters
in interface TermDefinitionContract
public Map<String,String> getParametersMap()
public void setParameters(List<TermParameterBo> parameters)
public void exportToParametersMap()
public void importFromParametersMap()
public String getDescription()
TermDefinitionContract
TermDefinitionContract
. May be null.getDescription
in interface TermDefinitionContract
public void setDescription(String description)
public String getSpecificationId()
public void setSpecificationId(String specificationId)
public String getId()
Identifiable
getId
in interface Identifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.