@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()
Identifiable
getId
in interface Identifiable
public String getName()
KrmsAttributeDefinitionContract
All 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 KrmsAttributeDefinitionContract
public String getNamespace()
KrmsAttributeDefinitionContract
The 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 KrmsAttributeDefinitionContract
public void setNamespace(String namespace)
public String getLabel()
KrmsAttributeDefinitionContract
This is an optional field and may be null or blank.
getLabel
in interface KrmsAttributeDefinitionContract
public String getDescription()
KrmsAttributeDefinitionContract
This is an option field and may be null or blank.
getDescription
in interface KrmsAttributeDefinitionContract
public void setDescription(String description)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
MutableInactivatable
setActive
in interface MutableInactivatable
public String getComponentName()
KrmsAttributeDefinitionContract
getComponentName
in interface KrmsAttributeDefinitionContract
public void setComponentName(String componentName)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.