|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.nakedobjects.object.AbstractNakedObject
org.nakedobjects.object.NakedClass
Field Summary | |
static NakedClass |
FINDER
|
Method Summary | |
About |
aboutActionFinder()
|
About |
aboutActionInstances()
|
About |
aboutActionNewInstance()
|
About |
aboutExplorationActionClass()
|
About |
aboutExplorationActionClone()
|
About |
aboutExplorationActionDestroyObject()
|
About |
aboutExplorationActionMakePersistent()
|
NakedObject |
acquireInstance()
Creates an object of the type represented by this object. |
NakedObject |
actionFinder()
|
InstanceCollection |
actionInstances()
|
NakedObject |
actionNewInstance()
|
static java.lang.String |
actionOrder()
|
boolean |
canInstantiate()
Deprecated. - having a valid/default constructor is mandatory now. this should not be used to determine instantiability |
static java.lang.String |
className(java.lang.Class clas)
Returns the name of the class with out the package details. |
void |
clear(NakedObject object)
Removes all the data from the specified object. |
NakedObject |
createFinder()
Creates a finder object with no references or values. |
static NakedClass |
createFor(java.lang.Class c)
Deprecated. use getNakedClass() |
java.lang.String |
debugInterface()
|
static java.lang.String |
dump()
|
Action |
get0ParamAction(java.lang.String name)
|
Action[] |
get0ParamActions()
|
Action |
get0ParamClassAction(java.lang.String name)
|
Action[] |
get0ParamClassActions()
|
Action |
get1ParamAction(java.lang.Class type)
Returns the Action for the specified class and type (look for the process method that take that type of object). |
Action |
get1ParamAction(java.lang.String name)
|
Action[] |
get1ParamActions()
|
Action |
get1ParamClassAction(java.lang.Class type)
Returns the Action for the specified type (look for the process method that take that type of object). |
Action[] |
get1ParamClassActions()
|
About |
getClassAbout()
|
Action[] |
getExplorationActions()
|
Action[] |
getExplorationClassActions()
|
Field |
getField(java.lang.String name)
|
Field[] |
getFields()
|
java.lang.String |
getIconName()
Returns the String returned by getClassName() |
java.lang.Class |
getJavaType()
Return the java type (a Class object) that this NakedClass is representing. |
static NakedClass |
getNakedClass(java.lang.Class c)
Returns the NakedClass object for the specified class. |
static NakedClass |
getNakedClass(java.lang.String className)
Returns the NakedClass object for the specified type. |
java.lang.String |
getName()
Returns the name of the NakedClass. |
java.lang.String |
getObjectHelpText()
Returns a textual desctiption of the object - its contents and possible uses. |
java.lang.Object |
getOid()
The objects unique id. |
java.lang.String |
getPluralName()
Returns the short name (with spacing) for this object in a pluralised form. |
java.lang.String |
getShortName()
Returns the class name without the package. |
java.lang.String |
getSingularName()
Returns the short name (with spacing) of this NakedClass object. |
boolean |
hasSubclasses()
|
boolean |
isCollection()
Returns true if this NakedClass represents a collection - of, or subclassed from, NakedCollection. |
boolean |
isData()
Returns true if this NakedClass represents a value object - subclassed from NakedValue. |
boolean |
isObject()
Returns true if this NakedClass represents a reference object - subclassed from NakedObject. |
boolean |
isResolved()
returns true when the object has been completely read into memory and all it attributes can be accessed. |
static java.lang.String |
naturalName(java.lang.String javaName)
Returns a human readable form of the specified name of a Java entity. |
static void |
reset()
Removes all the objects definitions so they are reloaded. |
void |
setOid(java.lang.Object oid)
Sets the OID for this object. |
static java.lang.String |
shortClassName(java.lang.String fullyQualifiedClassName)
Returns the short name of the fully qualified name (including the package name) . |
NakedClassList |
subclasses()
|
Title |
title()
every Naked Object is required to provide a Title by which
it is identified to the end user.
|
java.lang.String |
toString()
|
Methods inherited from class org.nakedobjects.object.AbstractNakedObject |
about, canClone, contextualTitle, copyObject, created, createInstance, createInstance, createTransientInstance, deleted, destroy, equals, explorationActionClass, explorationActionClone, explorationActionMakePersistent, getClassHelpText, getClassName, getCollectiveName, getFullClassName, getIdString, getNakedClass, getObjectStore, hashCode, iconImage, init, isEmpty, isFinder, isLookupElement, isPersistent, isSameAs, isValid, makeFinder, makePersistent, objectChanged, readExternal, resolve, resolve, setChangedAndNotifyObservers, setResolved, summary, writeExternal |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.nakedobjects.object.NakedObject |
addObserver, countObservers, deleteObserver, hasChanged |
Field Detail |
public static final NakedClass FINDER
Method Detail |
public static java.lang.String actionOrder()
public About getClassAbout()
public boolean isCollection()
public boolean isData()
public Action[] getExplorationActions()
public Action[] getExplorationClassActions()
public Field getField(java.lang.String name)
public Field[] getFields()
public java.lang.String getIconName()
AbstractNakedObject
getIconName
in class AbstractNakedObject
AbstractNakedObject.getClassName()
public java.lang.Class getJavaType()
public static NakedClass getNakedClass(java.lang.Class c)
public static NakedClass getNakedClass(java.lang.String className)
public java.lang.String getName()
public boolean isObject()
public java.lang.String getObjectHelpText()
Naked
getObjectHelpText
in interface Naked
getObjectHelpText
in class AbstractNakedObject
public java.lang.Object getOid()
NakedObject
getOid
in interface NakedObject
getOid
in class AbstractNakedObject
public java.lang.String getPluralName()
public boolean isResolved()
NakedObject
isResolved
in interface NakedObject
isResolved
in class AbstractNakedObject
public java.lang.String getShortName()
public java.lang.String getSingularName()
Removes the text up to, and including the last period (".").
public NakedObject acquireInstance()
public About aboutActionNewInstance()
public NakedObject actionNewInstance()
public About aboutActionFinder() throws ObjectStoreException
ObjectStoreException
public NakedObject actionFinder()
public About aboutActionInstances() throws ObjectStoreException
ObjectStoreException
public About aboutExplorationActionClone()
aboutExplorationActionClone
in class AbstractNakedObject
public About aboutExplorationActionClass()
aboutExplorationActionClass
in class AbstractNakedObject
public About aboutExplorationActionMakePersistent()
aboutExplorationActionMakePersistent
in class AbstractNakedObject
public About aboutExplorationActionDestroyObject()
public InstanceCollection actionInstances()
public boolean canInstantiate()
public static java.lang.String className(java.lang.Class clas)
className(String.class)
will return String whereas String.class.getName()
will return
java.lang.String.
public NakedObject createFinder()
public static NakedClass createFor(java.lang.Class c)
public java.lang.String debugInterface()
public static java.lang.String dump()
public Action get0ParamAction(java.lang.String name)
public Action[] get0ParamActions()
public Action get0ParamClassAction(java.lang.String name)
public Action[] get0ParamClassActions()
public Action get1ParamAction(java.lang.Class type)
public Action get1ParamAction(java.lang.String name)
public Action[] get1ParamActions()
public Action get1ParamClassAction(java.lang.Class type)
type
- java.lang.Class
public Action[] get1ParamClassActions()
public boolean hasSubclasses()
public static java.lang.String naturalName(java.lang.String javaName)
Calling this method with the following Java names will produce these results:
getCarRegistration -> Car Registration CityMayor -> City Mayor isReady -> Ready
public static void reset()
public void setOid(java.lang.Object oid)
NakedObject
setOid
in interface NakedObject
setOid
in class AbstractNakedObject
public static java.lang.String shortClassName(java.lang.String fullyQualifiedClassName)
public NakedClassList subclasses()
public Title title()
AbstractNakedObject
Title
by which
it is identified to the end user.
Unless overridden, the String
representation of this
Title
object is available through
contextualTitle()
.
title
in interface Naked
title
in class AbstractNakedObject
AbstractNakedObject.contextualTitle()
public java.lang.String toString()
toString
in class AbstractNakedObject
public void clear(NakedObject object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |