net.sf.sail.core.beans.assembly
Class Assignment

java.lang.Object
  extended by net.sf.sail.core.beans.assembly.Assignment

public class Assignment
extends java.lang.Object

Order to assign the value right into left. The real source and destination are looked up at time of execute().

Author:
turadg

Constructor Summary
Assignment(PodVarDelegate left, PodVarDelegate right)
           
 
Method Summary
 void execute(PodRegistry registry)
           
 PodVarDelegate getLeft()
           
 PodVarDelegate getRight()
           
 java.lang.String toString()
           
 void validate(PodRegistry registry)
          Check that the left and right PropertyRefs are valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Assignment

public Assignment(PodVarDelegate left,
                  PodVarDelegate right)
Method Detail

getRight

public PodVarDelegate getRight()
Returns:
source of the value

getLeft

public PodVarDelegate getLeft()
Returns:
target of the value

execute

public void execute(PodRegistry registry)
             throws java.lang.IllegalArgumentException,
                    java.lang.IllegalAccessException,
                    java.lang.reflect.InvocationTargetException,
                    java.lang.NoSuchMethodException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException

validate

public void validate(PodRegistry registry)
Check that the left and right PropertyRefs are valid

Parameters:
registry - TODO

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008 TELS Center. All Rights Reserved.