@Entity public class ComponentBo extends PersistableBusinessObjectBase implements ComponentEbo
extension, newCollectionRecord, objectId, versionNumber| Constructor and Description |
|---|
ComponentBo() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentBo |
from(Component im)
Converts a immutable object to its mutable counterpart
|
String |
getCode()
The code value for this object.
|
String |
getComponentSetId()
Returns the id of the component set this component belongs to if this component was published as part of such
a component set.
|
String |
getName()
This is the name value for the component.
|
NamespaceBo |
getNamespace() |
String |
getNamespaceCode()
This is the namespace for the component.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the record to active or inactive.
|
void |
setCode(String code) |
void |
setName(String name) |
void |
setNamespace(NamespaceBo namespace) |
void |
setNamespaceCode(String namespaceCode) |
static void |
setNamespaceService(NamespaceService namespaceService) |
static Component |
to(ComponentBo bo)
Converts a mutable bo to its immutable counterpart
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectId, getVersionNumberrefreshtoStringpublic ComponentBo()
public String getNamespaceCode()
ComponentEboIt is a way of assigning the component to a logical grouping within a rice application or rice ecosystem.
getNamespaceCode in interface ComponentContractgetNamespaceCode in interface ComponentEbopublic void setNamespaceCode(String namespaceCode)
public String getCode()
ComponentEbogetCode in interface CodedgetCode in interface ComponentEbopublic String getName()
ComponentEbogetName in interface ComponentContractgetName in interface ComponentEbopublic boolean isActive()
ComponentEboisActive in interface InactivatableisActive in interface ComponentEbopublic void setActive(boolean active)
ComponentEbosetActive in interface MutableInactivatablesetActive in interface ComponentEbopublic NamespaceBo getNamespace()
public void setNamespace(NamespaceBo namespace)
public String getComponentSetId()
ComponentEbogetComponentSetId in interface ComponentContractgetComponentSetId in interface ComponentEbopublic static Component to(ComponentBo bo)
bo - the mutable business objectpublic static ComponentBo from(Component im)
im - immutable objectpublic static void setNamespaceService(NamespaceService namespaceService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.