public class NaturalLanguageTemplateBo extends PersistableBusinessObjectBase implements NaturalLanguageTemplateContract
NaturalLanguageTemplate
.extension
Constructor and Description |
---|
NaturalLanguageTemplateBo()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
static NaturalLanguageTemplateBo |
from(NaturalLanguageTemplate naturalLanguageTemplate)
Converts a immutable
NaturalLanguageTemplate to its mutable NaturalLanguageTemplateBo counterpart. |
static KrmsAttributeDefinitionService |
getAttributeDefinitionService() |
Map<String,String> |
getAttributes()
This method returns a list of custom/remote attributes associated with the
agenda.
|
String |
getId()
The unique identifier for an object.
|
String |
getLanguageCode()
This is the Language Code of the NaturalLanguageTemplate
|
String |
getNaturalLanguageUsageId()
This is the NaturalLanguageUsageId of the NaturalLanguageTemplate
|
SequenceAccessorService |
getSequenceAccessorService() |
String |
getTemplate()
This is the Template of the NaturalLanguageTemplate
|
String |
getTypeId()
This is the TypeId of the NaturalLanguageTemplate
|
static KrmsTypeRepositoryService |
getTypeRepositoryService() |
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the value of active on this builder to the given value.
|
void |
setAttributeBos(List<NaturalLanguageTemplateAttributeBo> attributeBos)
Sets the value of AttributeBos on this builder to the given value.
|
void |
setAttributeBos(Set<NaturalLanguageTemplateAttributeBo> attributeBos)
Sets the value of AttributeBos on this builder to the given value.
|
static void |
setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService) |
void |
setAttributes(Map<String,String> attributes)
TODO
|
void |
setId(String id)
Sets the value of id on this builder to the given value.
|
void |
setLanguageCode(String languageCode)
Sets the value of languageCode on this builder to the given value.
|
void |
setNaturalLanguageUsageId(String naturalLanguageUsageId)
Sets the value of naturalLanguageUsageId on this builder to the given value.
|
void |
setSequenceAccessorService(SequenceAccessorService sas)
Set the SequenceAccessorService, useful for testing.
|
void |
setTemplate(String template)
Sets the value of template on this builder to the given value.
|
void |
setTypeId(String typeId)
Sets the value of typeId on this builder to the given value.
|
static void |
setTypeRepositoryService(KrmsTypeRepositoryService typeRepositoryService) |
void |
setVersionNumber(Long versionNumber)
Sets the value of versionNumber on this builder to the given value.
|
static NaturalLanguageTemplate |
to(NaturalLanguageTemplateBo naturalLanguageTemplateBo)
Converts a mutable
NaturalLanguageTemplateBo to its immutable counterpart, NaturalLanguageTemplate . |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
public NaturalLanguageTemplateBo()
public String getLanguageCode()
NaturalLanguageTemplateContract
The Language Code of the NaturalLanguageTemplate
getLanguageCode
in interface NaturalLanguageTemplateContract
public String getNaturalLanguageUsageId()
NaturalLanguageTemplateContract
The NaturalLanguageUsageId of the NaturalLanguageTemplate
getNaturalLanguageUsageId
in interface NaturalLanguageTemplateContract
public String getTypeId()
NaturalLanguageTemplateContract
The TypeId of the NaturalLanguageTemplate
getTypeId
in interface NaturalLanguageTemplateContract
public String getTemplate()
NaturalLanguageTemplateContract
The Template of the NaturalLanguageTemplate
getTemplate
in interface NaturalLanguageTemplateContract
public String getId()
Identifiable
getId
in interface Identifiable
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
getVersionNumber
in class PersistableBusinessObjectBase
Versioned.getVersionNumber()
public void setLanguageCode(String languageCode)
languageCode
- the languageCode value to set.public void setNaturalLanguageUsageId(String naturalLanguageUsageId)
naturalLanguageUsageId
- the naturalLanguageUsageId value to set.public void setTypeId(String typeId)
typeId
- the typeId value to set.public void setTemplate(String template)
template
- the template value to set.public void setId(String id)
id
- the id value to set.public void setActive(boolean active)
active
- the active value to set.public void setVersionNumber(Long versionNumber)
setVersionNumber
in interface PersistableBusinessObject
setVersionNumber
in class PersistableBusinessObjectBase
versionNumber
- the versionNumber value to set.Versioned.getVersionNumber()
public void setAttributeBos(List<NaturalLanguageTemplateAttributeBo> attributeBos)
attributeBos
- the AttributeBos value to set.public void setAttributeBos(Set<NaturalLanguageTemplateAttributeBo> attributeBos)
attributeBos
- the AttributeBos value to set.public static NaturalLanguageTemplate to(NaturalLanguageTemplateBo naturalLanguageTemplateBo)
NaturalLanguageTemplateBo
to its immutable counterpart, NaturalLanguageTemplate
.naturalLanguageTemplateBo
- the mutable business object.NaturalLanguageTemplate
the immutable object.public static NaturalLanguageTemplateBo from(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplate
to its mutable NaturalLanguageTemplateBo
counterpart.naturalLanguageTemplate
- the immutable object.NaturalLanguageTemplateBo
the mutable NaturalLanguageTemplateBo.public void setSequenceAccessorService(SequenceAccessorService sas)
sas
- SequenceAccessorService to use for getNewId.public SequenceAccessorService getSequenceAccessorService()
public Map<String,String> getAttributes()
NaturalLanguageTemplateContract
The attributes of the NaturalLanguageUsage
getAttributes
in interface NaturalLanguageTemplateContract
public void setAttributes(Map<String,String> attributes)
public static void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
public static KrmsTypeRepositoryService getTypeRepositoryService()
public static void setTypeRepositoryService(KrmsTypeRepositoryService typeRepositoryService)
public static KrmsAttributeDefinitionService getAttributeDefinitionService()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.