|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.framework.ObjectEditorContext
Nested Class Summary | |
class |
ObjectEditorContext.ReferencedObject
Class ReferencedObject @add-javadoc!!! |
Constructor Summary | |
ObjectEditorContext()
Constructor for ObjectEditorContext. |
Method Summary | |
void |
addCollectionItem(java.lang.String name,
java.lang.Object nested)
Method addCollectionItem @add-javadoc!!! |
void |
clearReference(java.lang.String key)
Method clearReference @add-javadoc!!! |
java.lang.String |
getClassName()
Returns the className. |
java.util.Collection |
getCollection(java.lang.String name)
Method getCollection @add-javadoc!!! |
java.util.Map |
getCollections()
Returns the collections. |
java.lang.Object |
getInstance()
Returns the instance. |
int |
getMode()
Returns the mode. |
java.lang.String |
getParentCollectionName()
Returns the parentCollectionName. |
ObjectEditorContext |
getParentContext()
Returns the parentContext. |
java.lang.String |
getParentContextKey()
Returns the parentContextKey. |
java.lang.String |
getParentReferenceName()
Returns the parentReferenceName. |
java.lang.Object |
getReference(java.lang.String key)
Method getReference @add-javadoc!!! |
java.util.Map |
getReferences()
Returns the references. |
java.lang.String |
getUid()
Returns the uid. |
boolean |
hasCollection(java.lang.String name)
Method hasCollection @add-javadoc!!! |
boolean |
hasInitializedReference(java.lang.String key)
Method hasInitializedReference @add-javadoc!!! |
boolean |
hasParentCollectionName()
Method hasParentCollectionName @add-javadoc!!! |
boolean |
hasParentContext()
Method hasParentContext @add-javadoc!!! |
boolean |
hasParentReferenceName()
Method hasParentReferenceName @add-javadoc!!! |
void |
initReference(java.lang.String key)
Method initReference @add-javadoc!!! |
boolean |
isEdit()
Method isEdit @add-javadoc!!! |
boolean |
isInsert()
Method isInsert @add-javadoc!!! |
void |
putCollection(java.lang.String name,
java.util.Collection col)
Method putCollection @add-javadoc!!! |
void |
putReference(java.lang.String key,
java.lang.Object ref)
Method putReference @add-javadoc!!! |
void |
removeCollection(java.lang.String name)
Method removeCollection @add-javadoc!!! |
void |
removeReference(java.lang.String key)
Method removeReference @add-javadoc!!! |
void |
setClassName(java.lang.String className)
Sets the className. |
void |
setCollectionItem(java.lang.String name,
java.lang.Object nested,
int index)
Method setCollectionItem @add-javadoc!!! |
void |
setCollections(java.util.Map collections)
Sets the collections. |
void |
setEdit()
Method setEdit @add-javadoc!!! |
void |
setInsert()
Method setInsert @add-javadoc!!! |
void |
setInstance(java.lang.Object instance)
Sets the instance. |
void |
setMode(int mode)
Sets the mode. |
void |
setParentCollectionName(java.lang.String parentCollectionName)
Sets the parentCollectionName. |
void |
setParentContext(ObjectEditorContext parentContext)
Sets the parentContext. |
void |
setParentContextKey(java.lang.String parentContextKey)
Sets the parentContextKey. |
void |
setParentReferenceName(java.lang.String parentReferenceName)
Sets the parentReferenceName. |
void |
setReferences(java.util.Map references)
Sets the references. |
void |
setUid(java.lang.String uid)
Sets the uid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectEditorContext()
Method Detail |
public java.util.Map getCollections()
public void setCollections(java.util.Map collections)
collections
- The collections to setpublic void addCollectionItem(java.lang.String name, java.lang.Object nested)
name
- @add-javadoc!!!nested
- @add-javadoc!!!public boolean hasCollection(java.lang.String name)
name
- @add-javadoc!!!
public void setCollectionItem(java.lang.String name, java.lang.Object nested, int index)
name
- @add-javadoc!!!nested
- @add-javadoc!!!index
- @add-javadoc!!!public void putCollection(java.lang.String name, java.util.Collection col)
name
- @add-javadoc!!!col
- @add-javadoc!!!public void removeCollection(java.lang.String name)
name
- @add-javadoc!!!public java.util.Collection getCollection(java.lang.String name)
name
- @add-javadoc!!!
public void setEdit()
public void setInsert()
public boolean isEdit()
public boolean isInsert()
public int getMode()
public void setMode(int mode)
mode
- The mode to setpublic java.lang.String getUid()
public void setUid(java.lang.String uid)
uid
- The uid to setpublic ObjectEditorContext getParentContext()
public void setParentContext(ObjectEditorContext parentContext)
parentContext
- The parentContext to setpublic boolean hasParentContext()
public java.lang.Object getInstance()
public void setInstance(java.lang.Object instance)
instance
- The instance to setpublic java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- The className to setpublic java.lang.String getParentContextKey()
public void setParentContextKey(java.lang.String parentContextKey)
parentContextKey
- The parentContextKey to setpublic java.lang.String getParentCollectionName()
public void setParentCollectionName(java.lang.String parentCollectionName)
parentCollectionName
- The parentCollectionName to setpublic java.util.Map getReferences()
public void setReferences(java.util.Map references)
references
- The references to setpublic void putReference(java.lang.String key, java.lang.Object ref)
key
- @add-javadoc!!!ref
- @add-javadoc!!!public void removeReference(java.lang.String key)
key
- @add-javadoc!!!public boolean hasInitializedReference(java.lang.String key)
key
- @add-javadoc!!!
public void initReference(java.lang.String key)
key
- @add-javadoc!!!public void clearReference(java.lang.String key)
key
- @add-javadoc!!!public java.lang.Object getReference(java.lang.String key)
key
- @add-javadoc!!!
public boolean hasParentCollectionName()
public boolean hasParentReferenceName()
public java.lang.String getParentReferenceName()
public void setParentReferenceName(java.lang.String parentReferenceName)
parentReferenceName
- The parentReferenceName to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |