|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.actions.ActionDefinition
com.metamatrix.common.actions.TargetedActionDefinition
com.metamatrix.common.actions.AddObject
com.metamatrix.common.actions.AddNamedObject
public class AddNamedObject
This action definition specifies that the value of a named object reference in the target should be changed from the current object to a new object.
| Constructor Summary | |
|---|---|
protected |
AddNamedObject(AddNamedObject rhs)
|
|
AddNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.Object[] args)
|
|
AddNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.String name,
java.lang.Object newValue)
|
protected |
AddNamedObject(java.lang.Object target,
java.lang.Integer attributeCode,
java.lang.Object[] args)
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a deep cloned instance of this object. |
java.lang.String |
getActionDescription()
Get the description (i.e., verb) for this type of action. |
java.lang.String |
getName()
|
java.lang.Object |
getNewValue()
|
ActionDefinition |
getUndoActionDefinition()
Obtain the definition of the action that undoes this action definition. |
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
Returns a string representing the current state of the object. |
| Methods inherited from class com.metamatrix.common.actions.ActionDefinition |
|---|
getArguments, getAttributeCode, getAttributeDescription, getCreationTime, getCreationTimeMillis, getTarget, hasArguments, hasAttributeCode, hasTarget |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.String name,
java.lang.Object newValue)
public AddNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.Object[] args)
protected AddNamedObject(java.lang.Object target,
java.lang.Integer attributeCode,
java.lang.Object[] args)
protected AddNamedObject(AddNamedObject rhs)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface NamedObjectActionDefinitionpublic java.lang.Object getNewValue()
public void setName(java.lang.String newName)
setName in interface NamedObjectActionDefinitionpublic java.lang.String getActionDescription()
ActionDefinition
getActionDescription in class AddObjectpublic java.lang.String toString()
toString in class AddObjectpublic java.lang.Object clone()
clone in class AddObjectpublic ActionDefinition getUndoActionDefinition()
getUndoActionDefinition in class AddObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||