|
||||||||||
| 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.ExchangeObject
com.metamatrix.common.actions.ExchangeNamedObject
public class ExchangeNamedObject
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 |
ExchangeNamedObject(ExchangeNamedObject rhs)
|
|
ExchangeNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.Object[] args)
|
|
ExchangeNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.String name,
java.lang.Object previousValue,
java.lang.Object newValue)
|
protected |
ExchangeNamedObject(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()
|
java.lang.Object |
getPreviousValue()
|
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 ExchangeNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.String name,
java.lang.Object previousValue,
java.lang.Object newValue)
public ExchangeNamedObject(java.lang.Object target,
AttributeDefinition attribute,
java.lang.Object[] args)
protected ExchangeNamedObject(java.lang.Object target,
java.lang.Integer attributeCode,
java.lang.Object[] args)
protected ExchangeNamedObject(ExchangeNamedObject rhs)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface NamedObjectActionDefinitionpublic java.lang.Object getPreviousValue()
getPreviousValue in class ExchangeObjectpublic java.lang.Object getNewValue()
getNewValue in class ExchangeObjectpublic void setName(java.lang.String newName)
setName in interface NamedObjectActionDefinitionpublic java.lang.String getActionDescription()
ActionDefinition
getActionDescription in class ExchangeObjectpublic java.lang.String toString()
toString in class ExchangeObjectpublic java.lang.Object clone()
clone in class ExchangeObjectpublic ActionDefinition getUndoActionDefinition()
getUndoActionDefinition in class ExchangeObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||