com.hammurapi.flow
Interface Transition

All Superinterfaces:
CommonObject, org.eclipse.emf.ecore.EObject, Factory, FlowElement, Named, NamedObjectDefinition, org.eclipse.emf.common.notify.Notifier, ObjectDefinition, PropertySource
All Known Implementing Classes:
TransitionImpl

public interface Transition
extends FlowElement

A representation of the model object 'Transition'. Transition connects two pins.

The following features are supported:

See Also:
FlowPackage.getTransition()

Method Summary
 Factory getFromKey()
          Returns the value of the 'From Key' containment reference.
 Pin getFromPin()
          Returns the value of the 'From Pin' reference.
 Factory getToKey()
          Returns the value of the 'To Key' containment reference.
 Pin getToPin()
          Returns the value of the 'To Pin' reference.
 void setFromKey(Factory value)
          Sets the value of the 'From Key' containment reference.
 void setFromPin(Pin value)
          Sets the value of the 'From Pin' reference.
 void setToKey(Factory value)
          Sets the value of the 'To Key' containment reference.
 void setToPin(Pin value)
          Sets the value of the 'To Pin' reference.
 
Methods inherited from interface com.hammurapi.flow.FlowElement
getFlow, getViewConfig, setFlow
 
Methods inherited from interface com.hammurapi.config.Named
getName, inject, isRuntime, setName, setRuntime
 
Methods inherited from interface com.hammurapi.config.ObjectDefinition
getConstructor, getType, getValue, setConstructor, setType, setValue
 
Methods inherited from interface com.hammurapi.config.Factory
compile, create, getConfigScript, getDescription, getHomePage, getId, getService, getSource, getSupportedExecutionEnvironments, isEnabled, setConfigScript, setDescription, setEnabled, setHomePage, setId
 
Methods inherited from interface com.hammurapi.party.CommonObject
getRoles
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface com.hammurapi.config.PropertySource
getClassPath, getProfile, getProperty, injectProperties
 

Method Detail

getFromPin

Pin getFromPin()
Returns the value of the 'From Pin' reference. It is bidirectional and its opposite is 'Output'. Transition has one source pin.

Returns:
the value of the 'From Pin' reference.
See Also:
setFromPin(Pin), FlowPackage.getTransition_FromPin(), Pin.getOutput()

setFromPin

void setFromPin(Pin value)
Sets the value of the 'From Pin' reference.

Parameters:
value - the new value of the 'From Pin' reference.
See Also:
getFromPin()

getToPin

Pin getToPin()
Returns the value of the 'To Pin' reference. It is bidirectional and its opposite is 'Input'. Transition has one target pin.

Returns:
the value of the 'To Pin' reference.
See Also:
setToPin(Pin), FlowPackage.getTransition_ToPin(), Pin.getInput()

setToPin

void setToPin(Pin value)
Sets the value of the 'To Pin' reference.

Parameters:
value - the new value of the 'To Pin' reference.
See Also:
getToPin()

getFromKey

Factory getFromKey()
Returns the value of the 'From Key' containment reference.

If the meaning of the 'From Key' reference isn't clear, there really should be more of a description here...

Transitions pass connection keys to pins at runtime so pins can properly wire transitions.

Returns:
the value of the 'From Key' containment reference.
See Also:
setFromKey(Factory), FlowPackage.getTransition_FromKey()

setFromKey

void setFromKey(Factory value)
Sets the value of the 'From Key' containment reference.

Parameters:
value - the new value of the 'From Key' containment reference.
See Also:
getFromKey()

getToKey

Factory getToKey()
Returns the value of the 'To Key' containment reference.

If the meaning of the 'To Key' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'To Key' containment reference.
See Also:
setToKey(Factory), FlowPackage.getTransition_ToKey()

setToKey

void setToKey(Factory value)
Sets the value of the 'To Key' containment reference.

Parameters:
value - the new value of the 'To Key' containment reference.
See Also:
getToKey()