@Entity public class DerivedComponentBo extends PersistableBusinessObjectBase implements ComponentContract
extension, newCollectionRecord, objectId, versionNumber| Constructor and Description |
|---|
DerivedComponentBo() |
| Modifier and Type | Method and Description |
|---|---|
static DerivedComponentBo |
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.
|
String |
getNamespaceCode()
This is the namespace for the component.
|
boolean |
isActive()
The active indicator for an object.
|
protected void |
preUpdate()
Default implementation of the JPA
PreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. |
void |
setCode(String code) |
void |
setComponentSetId(String componentSetId) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
static Component |
to(DerivedComponentBo bo)
Converts a mutable bo to its immutable counterpart
|
static ComponentBo |
toComponentBo(DerivedComponentBo derivedComponentBo) |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumbergetObjectIdtoStringpublic DerivedComponentBo()
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic String getNamespaceCode()
ComponentContractIt is a way of assigning the component to a logical grouping within a rice application or rice ecosystem.
getNamespaceCode in interface ComponentContractpublic void setNamespaceCode(String namespaceCode)
public String getCode()
Codedpublic String getName()
ComponentContractgetName in interface ComponentContractpublic String getComponentSetId()
ComponentContractgetComponentSetId in interface ComponentContractpublic void setComponentSetId(String componentSetId)
protected void preUpdate()
PersistableBusinessObjectBasePreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.preUpdate to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeUpdate(PersistenceBroker) hook.
preUpdate in class PersistableBusinessObjectBasepublic static Component to(DerivedComponentBo bo)
bo - the mutable business objectpublic static DerivedComponentBo from(Component im)
im - immutable objectpublic static ComponentBo toComponentBo(DerivedComponentBo derivedComponentBo)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.