|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.krms.impl.repository.NaturalLanguageUsageBo
public class NaturalLanguageUsageBo
The mutable implementation of the @{link NaturalLanguageUsageContract} interface, the counterpart to the immutable implementation NaturalLanguageUsage
.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension |
Constructor Summary | |
---|---|
NaturalLanguageUsageBo()
Default Constructor |
Method Summary | |
---|---|
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 . |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public NaturalLanguageUsageBo()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |