org.nakedobjects.plugins.dnd.viewer.undo
Class AssociateCommand

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.undo.AssociateCommand
All Implemented Interfaces:
Command

public class AssociateCommand
extends java.lang.Object
implements Command


Constructor Summary
AssociateCommand(NakedObject object, NakedObject associatedObject, OneToOneAssociation field)
           
 
Method Summary
 void execute()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 void undo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociateCommand

public AssociateCommand(NakedObject object,
                        NakedObject associatedObject,
                        OneToOneAssociation field)
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Command

getName

public java.lang.String getName()
Specified by:
getName in interface Command

undo

public void undo()
Specified by:
undo in interface Command

execute

public void execute()
Specified by:
execute in interface Command


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.