public class YParameter extends YVariable implements java.lang.Comparable<YVariable>
Modifier and Type | Field and Description |
---|---|
static int |
_ENABLEMENT_PARAM_TYPE |
static int |
_INPUT_PARAM_TYPE |
static int |
_OUTPUT_PARAM_TYPE |
_dataTypeName, _defaultValue, _elementName, _initialValue, _isEmptyTyped, _isUntyped, _name, _namespaceURI, _ordering, _parentDecomposition
Constructor and Description |
---|
YParameter() |
YParameter(YDecomposition decomposition,
int type)
creates a parameter
|
YParameter(YDecomposition decomposition,
java.lang.String type)
Constructs a parameter using a type string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bypassesDecompositionStateSpace()
Returns whether or not the param is used for pure control flow, i.e.,
the value by passes the decompositions state space.
|
java.lang.String |
getDirection() |
int |
getParamType() |
java.lang.String |
getParamTypeStr() |
static java.lang.String |
getTypeForEnablement() |
static java.lang.String |
getTypeForInput() |
static java.lang.String |
getTypeForOutput() |
boolean |
isEnablement() |
boolean |
isInput() |
boolean |
isOutput() |
void |
setIsCutThroughParam(boolean isCutThroughParam)
Set whether the param bypasses the decomposition's state space.
|
java.lang.String |
toString() |
java.lang.String |
toSummaryXML() |
java.lang.String |
toXML() |
void |
verify(YVerificationHandler handler)
***************************************************************************
|
addAttribute, addAttribute, clone, compareTo, getAttributes, getDataTypeName, getDataTypeNameSpace, getDataTypeNameUnprefixed, getDataTypePrefix, getDefaultValue, getDocumentation, getElementName, getInitialValue, getLogPredicate, getName, getOrdering, getParentDecomposition, getPreferredName, hasAttributes, isEmptyTyped, isMandatory, isOptional, isRequired, isUntyped, isUserDefinedType, requiresInputValue, setAttributes, setDataTypeAndName, setDefaultValue, setDocumentation, setElementName, setEmptyTyped, setInitialValue, setLogPredicate, setMandatory, setName, setOptional, setOrdering, setParentDecomposition, setUntyped, toXMLGuts, usesElementDeclaration, usesTypeDeclaration
public static final int _INPUT_PARAM_TYPE
public static final int _OUTPUT_PARAM_TYPE
public static final int _ENABLEMENT_PARAM_TYPE
public YParameter()
public YParameter(YDecomposition decomposition, int type)
decomposition
- the parent decompositiontype
- use one of the public static type attributespublic YParameter(YDecomposition decomposition, java.lang.String type)
decomposition
- the decompositiontype
- the parameter type (inputParam /outputParam /enablementParam).public void setIsCutThroughParam(boolean isCutThroughParam)
isCutThroughParam
- if yes then true.public java.lang.String getDirection()
public java.lang.String toSummaryXML()
public void verify(YVerificationHandler handler)
YVariable
verify
in interface YVerifiable
verify
in class YVariable
YVerificationMessage
public boolean isInput()
public boolean isOutput()
public boolean isEnablement()
public boolean bypassesDecompositionStateSpace()
public static java.lang.String getTypeForInput()
public static java.lang.String getTypeForOutput()
public static java.lang.String getTypeForEnablement()
public java.lang.String getParamTypeStr()
public int getParamType()
Copyright © 2004-2014 The YAWL Foundation.