@Entity public class NaturalLanguageUsageBo extends Object implements NaturalLanguageUsageContract, Serializable
NaturalLanguageUsage
.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
|
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 |
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 . |
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
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)
versionNumber
- the versionNumber value to set.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.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.