|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.coreservice.impl.component.DerivedComponentBo
@Entity public class DerivedComponentBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, newCollectionRecord, objectId, versionNumber |
Constructor Summary | |
---|---|
DerivedComponentBo()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
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, setVersionNumber |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public DerivedComponentBo()
Method Detail |
---|
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public String getNamespaceCode()
ComponentContract
It is a way of assigning the component to a logical grouping within a rice application or rice ecosystem.
getNamespaceCode
in interface ComponentContract
public void setNamespaceCode(String namespaceCode)
public String getCode()
Coded
getCode
in interface Coded
public void setCode(String code)
public String getName()
ComponentContract
getName
in interface ComponentContract
public void setName(String name)
public String getComponentSetId()
ComponentContract
getComponentSetId
in interface ComponentContract
public void setComponentSetId(String componentSetId)
protected void preUpdate()
PersistableBusinessObjectBase
PreUpdate
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 PersistableBusinessObjectBase
public static Component to(DerivedComponentBo bo)
bo
- the mutable business object
public static DerivedComponentBo from(Component im)
im
- immutable object
public static ComponentBo toComponentBo(DerivedComponentBo derivedComponentBo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |