|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.clients.api.workflow.Declaration
public class Declaration
The declaration of a variable or a partner link.
This action doesn;t result in emitting any BPEL code rather than
adding new variable or partner link to the Scope
Constructor Summary | |
---|---|
Declaration(PartnerLink partnerLink,
PartnerLinkValue value)
Declare a partner link with the provided name and the provided value. |
|
Declaration(PartnerLinkValue value)
Declare a partner link with some generated name and the provided value. |
|
Declaration(java.lang.String part,
VariableValue value)
Declare a variable with provided part name and value |
|
Declaration(VariableValue value)
Declare a variable with some generated name and the provided value. |
|
Declaration(Variable variable,
VariableValue value)
Declare a variable with the provided name and the provided value. |
Method Summary | |
---|---|
void |
emitCode(Scope scope,
org.w3c.dom.Element target)
Emit the piece of code corresponding to the current action. |
PartnerLink |
getPartnerLink()
Get the name of the declared partner link |
Variable |
getVariable()
Get the name of the generated variable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Declaration(VariableValue value)
value
- The variable valuepublic Declaration(PartnerLinkValue value)
value
- The partner link valuepublic Declaration(Variable variable, VariableValue value)
variable
- The variable namevalue
- The variable valuepublic Declaration(PartnerLink partnerLink, PartnerLinkValue value)
partnerLink
- The name of the partner linkvalue
- The partner link valuepublic Declaration(java.lang.String part, VariableValue value)
part
- - the name of the variable partvalue
- - the variable valueMethod Detail |
---|
public void emitCode(Scope scope, org.w3c.dom.Element target) throws java.lang.Exception
Action
emitCode
in interface Action
scope
- The variable scope of the workflowtarget
- The XML DOM element to append the action code to
java.lang.Exception
- In a case of errorpublic PartnerLink getPartnerLink()
public Variable getVariable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |