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, setObjectIdtoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringpublic NaturalLanguageUsageBo()
public String getName()
NaturalLanguageUsageContractThe name of the NaturalLanguageUsage
getName in interface NaturalLanguageUsageContractpublic String getDescription()
NaturalLanguageUsageContractThe Description of the NaturalLanguageUsage
getDescription in interface NaturalLanguageUsageContractpublic String getNamespace()
NaturalLanguageUsageContractThe namespace of the NaturalLanguageUsage
getNamespace in interface NaturalLanguageUsageContractpublic String getId()
IdentifiablegetId in interface Identifiablepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface VersionedgetVersionNumber in class PersistableBusinessObjectBaseVersioned.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 PersistableBusinessObjectsetVersionNumber in class PersistableBusinessObjectBaseversionNumber - 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.