@Entity public class ContextBo extends Object implements ContextDefinitionContract, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_SEQ_NAME |
| Constructor and Description |
|---|
ContextBo() |
| Modifier and Type | Method and Description |
|---|---|
ContextBo |
copyContext(String additionalNameText) |
static ContextBo |
from(ContextDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
boolean |
getActive() |
List<AgendaBo> |
getAgendas()
Returns the list of agendas
AgendaDefinitionContract contained in the context definition. |
List<ContextAttributeBo> |
getAttributeBos() |
Map<String,String> |
getAttributes()
Returns a map of name/value pairs representing the
attributes associated with this context.
|
String |
getDescription()
Returns the description of the context definition.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
Returns the name of the context definition.
|
String |
getNamespace()
Returns the namespace of the context definition.
|
String |
getTypeId()
Returns the type id for the context definition.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setAgendas(List<AgendaBo> agendas) |
void |
setAttributeBos(List<ContextAttributeBo> attributeBos) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
static ContextDefinition |
to(ContextBo bo)
Converts a mutable bo to it's immutable counterpart
|
public static final String CONTEXT_SEQ_NAME
public ContextBo()
public List<AgendaBo> getAgendas()
ContextDefinitionContractAgendaDefinitionContract contained in the context definition.
This method should never return null. An empty list is returned
if no agendas are associated with this context.getAgendas in interface ContextDefinitionContractpublic Map<String,String> getAttributes()
ContextDefinitionContractThis method should never return null. An empty map is returned if no attributes are associated with the context.
getAttributes in interface ContextDefinitionContractpublic ContextBo copyContext(String additionalNameText)
public static ContextDefinition to(ContextBo bo)
bo - the mutable business objectpublic static ContextBo from(ContextDefinition im)
im - immutable objectpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getName()
ContextDefinitionContractgetName in interface ContextDefinitionContractpublic String getNamespace()
ContextDefinitionContractgetNamespace in interface ContextDefinitionContractpublic void setNamespace(String namespace)
public String getTypeId()
ContextDefinitionContractgetTypeId in interface ContextDefinitionContractpublic String getDescription()
ContextDefinitionContractgetDescription in interface ContextDefinitionContractpublic void setDescription(String description)
public boolean getActive()
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
public void setAgendas(List<AgendaBo> agendas)
public List<ContextAttributeBo> getAttributeBos()
public void setAttributeBos(List<ContextAttributeBo> attributeBos)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.