Interface FromPart

All Superinterfaces:
AbstractVariableDeclaration, BpelEntity, BpelReferenceable, Component<BpelEntity>, DocumentComponent<BpelEntity>, PartReference, Referenceable, ReferenceCollection, VariableDeclaration
All Known Implementing Classes:

public interface FromPart
extends BpelEntity, PartReference, ReferenceCollection, VariableDeclaration


Java class for tFromPart complex type.

The following schema fragment specifies the expected content contained within this class.

   <complexType name="tFromPart">
       <restriction base="{}anyType">
         <attribute name="part" use="required" type="{}NCName" />
         <attribute name="toVariable" use="required" type="{}NCName" />
This interface extends VariableDeclaration interface only if it child of OnEvent. In this case there is static analysis rule : For , variables referenced by the variable attribute of elements or the variable attribute of an element are implicitly declared in the associated scope of the event handler. Variables of the same names MUST NOT be explicitly declared in the associated scope. The variable references are resolved to the associated scope only and MUST NOT be resolved to the ancestor scopes. We need "real" element to be referenced, so in this case we consider FromPart as VariableDeclaration and reference resolving will be realized to FromPart. But this is not actually correct ( variables should be considered as variables declared in Scope ).

Field Summary
static java.lang.String TO_VARIABLE
Fields inherited from interface org.netbeans.modules.bpel.model.api.PartReference
Method Summary
 BpelReference<VariableDeclaration> getToVariable()
 void setToVariable(BpelReference<VariableDeclaration> variable)
          Set new reference to variable ( "toVariable" attribute value ).
Methods inherited from interface org.netbeans.modules.bpel.model.api.PartReference
getPart, setPart
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference, getReferences
Methods inherited from interface org.netbeans.modules.bpel.model.api.AbstractVariableDeclaration
getElement, getMessageType, getType, getVariableName

Field Detail


static final java.lang.String TO_VARIABLE
See Also:
Constant Field Values
Method Detail


BpelReference<VariableDeclaration> getToVariable()
Reference to variable ( "toVariable" attribute value ).


void setToVariable(BpelReference<VariableDeclaration> variable)
Set new reference to variable ( "toVariable" attribute value ).

variable - New reference to variable.