@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, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectId, getVersionNumber
refresh
toString
public ComponentBo()
public String getNamespaceCode()
ComponentEbo
It is a way of assigning the component to a logical grouping within a rice application or rice ecosystem.
getNamespaceCode
in interface ComponentContract
getNamespaceCode
in interface ComponentEbo
public void setNamespaceCode(String namespaceCode)
public String getCode()
ComponentEbo
getCode
in interface Coded
getCode
in interface ComponentEbo
public String getName()
ComponentEbo
getName
in interface ComponentContract
getName
in interface ComponentEbo
public boolean isActive()
ComponentEbo
isActive
in interface Inactivatable
isActive
in interface ComponentEbo
public void setActive(boolean active)
ComponentEbo
setActive
in interface MutableInactivatable
setActive
in interface ComponentEbo
public NamespaceBo getNamespace()
public void setNamespace(NamespaceBo namespace)
public String getComponentSetId()
ComponentEbo
getComponentSetId
in interface ComponentContract
getComponentSetId
in interface ComponentEbo
public 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.