|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.formbuilder.BebopObjectType
This class defines a persistent object, whose
subclasses will have meta objects associated
with them. It is essentially just here to facilitate
the retrieval of groups of meta object
There are two object types which are defined,
PersistentComponent
& PersistentProcessListener
.
Field Summary | |
static String |
APP_NAME
|
static String |
BASE_DATA_OBJECT_TYPE
|
static String |
CLASS_NAME
|
static String |
TYPE_ID
|
Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE, versionId |
Constructor Summary | |
BebopObjectType()
|
|
BebopObjectType(BigDecimal id)
Constructor. |
|
BebopObjectType(DataObject obj)
Constructor. |
|
BebopObjectType(ObjectType type)
|
|
BebopObjectType(OID oid)
Constructor. |
|
BebopObjectType(String type)
|
Method Summary | |
static BebopObjectType |
create(String app,
Class widget)
|
static BebopObjectType |
create(String app,
String widgetClass)
|
static BebopObjectType |
findByClass(String name,
Class type)
Retrieves object type matching the specified class. |
static BebopObjectType |
findByClassName(String app,
String name)
Retrieves object type matching the specified class name. |
String |
getAppName()
|
static Collection |
getObjectTypes()
Retrieves a collection of all the object types |
Class |
getType()
Returns the Class object of the persistent object this object type represents |
String |
getTypeName()
Returns the class name of the persistent object this object type represents |
void |
setAppName(String name)
|
void |
setType(Class type)
|
void |
setTypeName(String typeName)
|
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String BASE_DATA_OBJECT_TYPE
public static final String TYPE_ID
public static final String CLASS_NAME
public static final String APP_NAME
Constructor Detail |
public BebopObjectType()
public BebopObjectType(String type)
public BebopObjectType(ObjectType type)
public BebopObjectType(DataObject obj)
obj
- the data objectpublic BebopObjectType(BigDecimal id) throws DataObjectNotFoundException
id
- the id of the object typepublic BebopObjectType(OID oid) throws DataObjectNotFoundException
oid
- the oid of the object typeMethod Detail |
public static BebopObjectType create(String app, Class widget)
public static BebopObjectType create(String app, String widgetClass)
public static BebopObjectType findByClass(String name, Class type) throws DataObjectNotFoundException
type
- the class whose object type to retrieve
DataObjectNotFoundException
- if there is no object type for the specified classpublic static BebopObjectType findByClassName(String app, String name) throws DataObjectNotFoundException
DataObjectNotFoundException
- if there is no object type for the specified class namepublic static Collection getObjectTypes()
public Class getType() throws ClassNotFoundException
ClassNotFoundException
public String getTypeName()
public void setType(Class type)
public void setTypeName(String typeName)
public String getAppName()
public void setAppName(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |