@Entity public class NaturalLanguageTemplateAttributeBo extends Object implements NaturalLanguageTemplateAttributeContract, Serializable
NaturalLanguageTemplateAttribute
.Constructor and Description |
---|
NaturalLanguageTemplateAttributeBo()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
static NaturalLanguageTemplateAttributeBo |
from(NaturalLanguageTemplateAttribute naturalLanguageTemplateAttribute)
Converts a immutable
NaturalLanguageTemplateAttribute to its mutable NaturalLanguageTemplateAttributeBo counterpart. |
KrmsAttributeDefinitionContract |
getAttributeDefinition()
Returns a
KrmsAttributeDefinitionContract . |
String |
getAttributeDefinitionId()
Returns the id of the attribute definition.
|
String |
getId()
The unique identifier for an object.
|
String |
getNaturalLanguageTemplateId()
This is the NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute
|
String |
getValue()
Returns the value of the attribute
|
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setAttributeDefinition(KrmsAttributeDefinitionContract attributeDefinition)
Sets the value of attributeDefinition on this builder to the given value.
|
void |
setAttributeDefinitionId(String attributeDefinitionId)
Sets the value of attributeDefinitionId on this builder to the given value.
|
void |
setId(String id)
Sets the value of id on this builder to the given value.
|
void |
setNaturalLanguageTemplateId(String naturalLanguageTemplateId)
Sets the value of naturalLanguageTemplateId on this builder to the given value.
|
void |
setValue(String value)
Sets the value of value on this builder to the given value.
|
void |
setVersionNumber(Long versionNumber)
Sets the value of versionNumber on this builder to the given value.
|
static NaturalLanguageTemplateAttribute |
to(NaturalLanguageTemplateAttributeBo naturalLanguageTemplateAttributeBo)
Converts a mutable
NaturalLanguageTemplateAttributeBo to its immutable counterpart, NaturalLanguageTemplateAttribute . |
public NaturalLanguageTemplateAttributeBo()
public String getNaturalLanguageTemplateId()
NaturalLanguageTemplateAttributeContract
The NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute
getNaturalLanguageTemplateId
in interface NaturalLanguageTemplateAttributeContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getValue()
BaseAttributeContract
getValue
in interface BaseAttributeContract
public String getAttributeDefinitionId()
BaseAttributeContract
The attribute definition contains metadata about the attribute. This is a required field and may not be null or blank. Many attribute instances may share the same attribute definition.
getAttributeDefinitionId
in interface BaseAttributeContract
public KrmsAttributeDefinitionContract getAttributeDefinition()
BaseAttributeContract
KrmsAttributeDefinitionContract
.
This is the object referred to by the attributeDefinitionId. The full object is also kept here for performance purposes. This is because the name of the attribute is referenced often for resolving name / value attribute pairs.
getAttributeDefinition
in interface BaseAttributeContract
public String getId()
Identifiable
getId
in interface Identifiable
public void setNaturalLanguageTemplateId(String naturalLanguageTemplateId)
naturalLanguageTemplateId
- the naturalLanguageTemplateId value to set.public void setVersionNumber(Long versionNumber)
versionNumber
- the versionNumber value to set.public void setValue(String value)
value
- the value value to set.public void setAttributeDefinitionId(String attributeDefinitionId)
attributeDefinitionId
- the attributeDefinitionId value to set.public void setAttributeDefinition(KrmsAttributeDefinitionContract attributeDefinition)
attributeDefinition
- the attributeDefinition value to set.public void setId(String id)
id
- the id value to set.public static NaturalLanguageTemplateAttribute to(NaturalLanguageTemplateAttributeBo naturalLanguageTemplateAttributeBo)
NaturalLanguageTemplateAttributeBo
to its immutable counterpart, NaturalLanguageTemplateAttribute
.naturalLanguageTemplateAttributeBo
- the mutable business object.NaturalLanguageTemplateAttribute
the immutable object.public static NaturalLanguageTemplateAttributeBo from(NaturalLanguageTemplateAttribute naturalLanguageTemplateAttribute)
NaturalLanguageTemplateAttribute
to its mutable NaturalLanguageTemplateAttributeBo
counterpart.naturalLanguageTemplateAttribute
- the immutable object.NaturalLanguageTemplateAttributeBo
the mutable NaturalLanguageTemplateAttributeBo.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.