@Entity public class KrmsAttributeDefinitionBo extends Object implements KrmsAttributeDefinitionContract, MutableInactivatable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Long |
versionNumber |
| Constructor and Description |
|---|
KrmsAttributeDefinitionBo() |
| Modifier and Type | Method and Description |
|---|---|
static KrmsAttributeDefinitionBo |
from(KrmsAttributeDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
boolean |
getActive() |
String |
getComponentName()
Returns the name of the component used to display the attribute.
|
String |
getDescription()
Returns the description of the attribute.
|
String |
getId()
The unique identifier for an object.
|
String |
getLabel()
Returns the label of this attribute definition.
|
String |
getName()
Returns the name of this attribute definition.
|
String |
getNamespace()
Returns the namespace of this attribute definition.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the record to active or inactive.
|
void |
setComponentName(String componentName) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setVersionNumber(Long versionNumber) |
static KrmsAttributeDefinition |
to(KrmsAttributeDefinitionBo bo)
Converts a mutable bo to it's immutable counterpart
|
protected Long versionNumber
public KrmsAttributeDefinitionBo()
public static KrmsAttributeDefinition to(KrmsAttributeDefinitionBo bo)
bo - the mutable business objectpublic static KrmsAttributeDefinitionBo from(KrmsAttributeDefinition im)
im - immutable objectpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getName()
KrmsAttributeDefinitionContractAll attribute definitions have a name and namespace, so this value can not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.
getName in interface KrmsAttributeDefinitionContractpublic String getNamespace()
KrmsAttributeDefinitionContractThe namespace provides scope of the the attribute definition. All attribute definition have a name and namespace, so this field may not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.
getNamespace in interface KrmsAttributeDefinitionContractpublic void setNamespace(String namespace)
public String getLabel()
KrmsAttributeDefinitionContractThis is an optional field and may be null or blank.
getLabel in interface KrmsAttributeDefinitionContractpublic String getDescription()
KrmsAttributeDefinitionContractThis is an option field and may be null or blank.
getDescription in interface KrmsAttributeDefinitionContractpublic void setDescription(String description)
public boolean getActive()
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
MutableInactivatablesetActive in interface MutableInactivatablepublic String getComponentName()
KrmsAttributeDefinitionContractgetComponentName in interface KrmsAttributeDefinitionContractpublic void setComponentName(String componentName)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.