org.graffiti.plugins.scripting.delegates
Class EdgeDelegate

java.lang.Object
  extended by org.graffiti.plugins.scripting.delegate.ScriptingDelegate
      extended by org.graffiti.plugins.scripting.delegate.ReflectiveDelegate
          extended by org.graffiti.plugins.scripting.delegate.ObjectDelegate
              extended by org.graffiti.plugins.scripting.delegates.GraphElementDelegate
                  extended by org.graffiti.plugins.scripting.delegates.EdgeDelegate
All Implemented Interfaces:
org.graffiti.plugins.scripting.delegate.Unwrappable<Edge>

public class EdgeDelegate
extends GraphElementDelegate
implements org.graffiti.plugins.scripting.delegate.Unwrappable<Edge>

Author:
Andreas Gleißner

Nested Class Summary
static class EdgeDelegate.Factory
           
 
Field Summary
 
Fields inherited from class org.graffiti.plugins.scripting.delegate.ScriptingDelegate
UNDEFINED
 
Constructor Summary
EdgeDelegate(org.graffiti.plugins.scripting.Scope scope, Edge edge)
           
 
Method Summary
 NodeDelegate getSource()
           
 NodeDelegate getTarget()
           
 void setSource(NodeDelegate node)
           
 void setTarget(NodeDelegate node)
           
 String toString()
           
 Edge unwrap()
           
 
Methods inherited from class org.graffiti.plugins.scripting.delegates.GraphElementDelegate
getGraph
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ObjectDelegate
createConstructor, createWrapper, get, getMemberInfo, getScope, has, put
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate
addDynamicMemberInfo, delete, delete, get, getClassName, getIndices, has, help, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeDelegate

public EdgeDelegate(org.graffiti.plugins.scripting.Scope scope,
                    Edge edge)
Method Detail

getSource

public NodeDelegate getSource()

getTarget

public NodeDelegate getTarget()

setSource

public void setSource(NodeDelegate node)

setTarget

public void setTarget(NodeDelegate node)

toString

public String toString()
Overrides:
toString in class Object

unwrap

public Edge unwrap()
Specified by:
unwrap in interface org.graffiti.plugins.scripting.delegate.Unwrappable<Edge>


Generated at 2012-05-30 11:01:25 PM CEST