Class NaturalLanguageUsageBo
java.lang.Object
org.kuali.rice.krms.impl.repository.NaturalLanguageUsageBo
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
@Entity
public class NaturalLanguageUsageBo
extends Object
implements org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract, Serializable
The mutable implementation of the @{link NaturalLanguageUsageContract} interface, the counterpart to the immutable implementation
NaturalLanguageUsage.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NaturalLanguageUsageBofrom(org.kuali.rice.krms.api.repository.language.NaturalLanguageUsage naturalLanguageUsage) Converts a immutableNaturalLanguageUsageto its mutableNaturalLanguageUsageBocounterpart.getId()getName()booleanisActive()voidsetActive(boolean active) Sets the value of active on this builder to the given value.voidsetDescription(String description) Sets the value of description on this builder to the given value.voidSets the value of id on this builder to the given value.voidSets the value of name on this builder to the given value.voidsetNamespace(String namespace) Sets the value of namespace on this builder to the given value.voidsetVersionNumber(Long versionNumber) Sets the value of versionNumber on this builder to the given value.static org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageto(NaturalLanguageUsageBo naturalLanguageUsageBo) Converts a mutableNaturalLanguageUsageBoto its immutable counterpart,NaturalLanguageUsage.
-
Constructor Details
-
NaturalLanguageUsageBo
public NaturalLanguageUsageBo()Default Constructor
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
-
getDescription
- Specified by:
getDescriptionin interfaceorg.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
-
getNamespace
- Specified by:
getNamespacein interfaceorg.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
setName
Sets the value of name on this builder to the given value.- Parameters:
name- the name value to set.
-
setDescription
Sets the value of description on this builder to the given value.- Parameters:
description- the description value to set.
-
setNamespace
Sets the value of namespace on this builder to the given value.- Parameters:
namespace- the namespace value to set.
-
setId
Sets the value of id on this builder to the given value.- Parameters:
id- the id value to set.
-
setActive
public void setActive(boolean active) Sets the value of active on this builder to the given value.- Parameters:
active- the active value to set.
-
setVersionNumber
Sets the value of versionNumber on this builder to the given value.- Parameters:
versionNumber- the versionNumber value to set.
-
to
public static org.kuali.rice.krms.api.repository.language.NaturalLanguageUsage to(NaturalLanguageUsageBo naturalLanguageUsageBo) Converts a mutableNaturalLanguageUsageBoto its immutable counterpart,NaturalLanguageUsage.- Parameters:
naturalLanguageUsageBo- the mutable business object.- Returns:
- a
NaturalLanguageUsagethe immutable object.
-
from
public static NaturalLanguageUsageBo from(org.kuali.rice.krms.api.repository.language.NaturalLanguageUsage naturalLanguageUsage) Converts a immutableNaturalLanguageUsageto its mutableNaturalLanguageUsageBocounterpart.- Parameters:
naturalLanguageUsage- the immutable object.- Returns:
- a
NaturalLanguageUsageBothe mutable NaturalLanguageUsageBo.
-