public class NaturalLanguageUsageBo extends PersistableBusinessObjectBase implements NaturalLanguageUsageContract
NaturalLanguageUsage
.extension
Constructor and Description |
---|
NaturalLanguageUsageBo()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
static NaturalLanguageUsageBo |
from(NaturalLanguageUsage naturalLanguageUsage)
Converts a immutable
NaturalLanguageUsage to its mutable NaturalLanguageUsageBo counterpart. |
String |
getDescription()
This is the Description of the NaturalLanguageUsage
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
This is the name of the NaturalLanguageUsage
|
String |
getNamespace()
This is the namespace of the NaturalLanguageUsage
|
SequenceAccessorService |
getSequenceAccessorService() |
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 |
setDescription(String description)
Sets the value of description on this builder to the given value.
|
void |
setId(String id)
Sets the value of id on this builder to the given value.
|
void |
setName(String name)
Sets the value of name on this builder to the given value.
|
void |
setNamespace(String namespace)
Sets the value of namespace on this builder to the given value.
|
void |
setSequenceAccessorService(SequenceAccessorService sas)
Set the SequenceAccessorService, useful for testing.
|
void |
setVersionNumber(Long versionNumber)
Sets the value of versionNumber on this builder to the given value.
|
static NaturalLanguageUsage |
to(NaturalLanguageUsageBo naturalLanguageUsageBo)
Converts a mutable
NaturalLanguageUsageBo to its immutable counterpart, NaturalLanguageUsage . |
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 NaturalLanguageUsageBo()
public String getName()
NaturalLanguageUsageContract
The name of the NaturalLanguageUsage
getName
in interface NaturalLanguageUsageContract
public String getDescription()
NaturalLanguageUsageContract
The Description of the NaturalLanguageUsage
getDescription
in interface NaturalLanguageUsageContract
public String getNamespace()
NaturalLanguageUsageContract
The namespace of the NaturalLanguageUsage
getNamespace
in interface NaturalLanguageUsageContract
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 setName(String name)
name
- the name value to set.public void setDescription(String description)
description
- the description value to set.public void setNamespace(String namespace)
namespace
- the namespace 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 static NaturalLanguageUsage to(NaturalLanguageUsageBo naturalLanguageUsageBo)
NaturalLanguageUsageBo
to its immutable counterpart, NaturalLanguageUsage
.naturalLanguageUsageBo
- the mutable business object.NaturalLanguageUsage
the immutable object.public static NaturalLanguageUsageBo from(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsage
to its mutable NaturalLanguageUsageBo
counterpart.naturalLanguageUsage
- the immutable object.NaturalLanguageUsageBo
the mutable NaturalLanguageUsageBo.public void setSequenceAccessorService(SequenceAccessorService sas)
sas
- SequenceAccessorService to use for getNewId.public SequenceAccessorService getSequenceAccessorService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.