Interface CLParameter
-
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,CLConnectAbleElement,CLDeclarationAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELMultiplicityAble,ELMultiplicityAbleTypedElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELTypedElement,ELUUIDAble,ELValueContainerAble,MEModelElement,MENamedElement,MENamespaceAsgnAble,MEStereotypeAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
public interface CLParameter extends ADHistoryAble, CLDeclarationAble, CLConnectAbleElement, ELMultiplicityAbleTypedElement, MMLabelTextAttachmentAble
A parameter is a specification of an argument used to pass information into or out of an invocation of a behavioral feature. It has a type and may have a multiplicity and an optional default value.- See Also:
CLParameterHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCLParameter.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ACParamNode>getActivityParameterNode(K_CONTROL_OPTION... behaviourFlags)Activity parameter is an object node at the beginning or end of flows used for accepting inputs to an activity and providing outputs from it.java.lang.StringgetDefaultValue()Specifies a string that represents a value to be used when no argument is supplied for the parameter.K_PARAM_DIRKINDgetDirection()Specifies the direction kind of this parameter.CLBehavioralFeaturegetOwnerFormalParam()The behavioral feature owning this parameter.BEBehaviorgetOwningBehavior()CLOperationgetOwningOperation()CLParameterAblegetOwningParameterAble()java.util.List<CLParameterSet>getParameterSet()AllCLParameterSetthisCLParameteris contained in.<T extends ANPin>
java.util.List<T>getPin(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)If theCLParameteris assigned to aBEBehavior, all pins at aANCallBehaviorinvoking thisBEBehaviorand belonging to thisCLParameterwill be returned.<T extends ANPin>
java.util.List<T>getPin(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)The method calls getPin and filters its return values according to the given stereotype value.CLClassifiergetTypingClassifier()The classifier used as type for this parameter.CLTemplateParameterAbleClassgetTypingTemplateParameterAbleClass()booleanisEligibleForParameterSet(CLParameterSet refObj)Checks for a givenargument refObjif the parameter is or would be valid in this parameterCLParameterSet.booleanisException()Informs whether an output parameter may emit a value to the exclusion of the other outputs.booleanisInput()booleanisOutput()booleanisReturn()True, if this parameter has the 'return' direction.booleanisStream()Informs whether an input parameter may accept values while its behavior is executing or whether an output parameter post values while the behavior is executing.voidsetDefaultValue(java.lang.String value)Set the value of Attribut DefaultValue.voidsetDefaultValueAsString(java.lang.String item)Sets the default value of this element.voidsetDirection(K_PARAM_DIRKIND value)Set the value of Attribut Direction.voidsetException(boolean value)Set the value of Attribut IsException.voidsetParameterSet(java.util.List<? extends CLParameterSet> values)Set the value of Foreign Key ParameterSet.voidsetStream(boolean value)Set the value of Attribut IsStream.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLConnectAbleElement
getBindingRole, getConnectedLifeline, getConnectedLifeline, getEnd, getLifeline, getSupplierRoleBinding
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpper
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setType
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
getDefaultValue
java.lang.String getDefaultValue() throws InoNetException, SrvErrorExceptionSpecifies a string that represents a value to be used when no argument is supplied for the parameter.- Throws:
InoNetExceptionSrvErrorException
-
setDefaultValue
void setDefaultValue(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut DefaultValue.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDirection
K_PARAM_DIRKIND getDirection() throws InoNetException, SrvErrorException
Specifies the direction kind of this parameter.- Throws:
InoNetExceptionSrvErrorException
-
setDirection
void setDirection(K_PARAM_DIRKIND value) throws InoNetException, SrvErrorException
Set the value of Attribut Direction.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isException
boolean isException() throws InoNetException, SrvErrorExceptionInforms whether an output parameter may emit a value to the exclusion of the other outputs.- Throws:
InoNetExceptionSrvErrorException
-
setException
void setException(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsException.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isStream
boolean isStream() throws InoNetException, SrvErrorExceptionInforms whether an input parameter may accept values while its behavior is executing or whether an output parameter post values while the behavior is executing.- Throws:
InoNetExceptionSrvErrorException
-
setStream
void setStream(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsStream.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isInput
boolean isInput() throws InoNetException, SrvErrorExceptionIs true if the parameter provides the behavior with an input. Please take into consideration that the same parameter can qualify as input and output; this means that the number of input and output parameters may differ from the total number of parameters.- Throws:
InoNetExceptionSrvErrorException
-
isOutput
boolean isOutput() throws InoNetException, SrvErrorExceptionIs true if the parameter carries an output of the behavior. Please take into consideration that the same parameter can qualify as input and output; this means that the number of input and output parameters may differ from the total number of parameters.- Throws:
InoNetExceptionSrvErrorException
-
isReturn
boolean isReturn() throws InoNetException, SrvErrorExceptionTrue, if this parameter has the 'return' direction.- Throws:
InoNetExceptionSrvErrorException
-
isEligibleForParameterSet
boolean isEligibleForParameterSet(CLParameterSet refObj) throws InoNetException, SrvErrorException
Checks for a givenargument refObjif the parameter is or would be valid in this parameterCLParameterSet. This check is necessary because of the constraint that states the parameters in a parameter set must all be inputs or all be outputs.- Parameters:
refObj- A further instance of type CLParameterSet which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
getPin
<T extends ANPin> java.util.List<T> getPin(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
If theCLParameteris assigned to aBEBehavior, all pins at aANCallBehaviorinvoking thisBEBehaviorand belonging to thisCLParameterwill be returned.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getPin
<T extends ANPin> java.util.List<T> getPin(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getPin and filters its return values according to the given stereotype value.- Parameters:
returnType- Specifies the type of elements to be returned.stereotype- The stereotype used to filter the result listbehaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
setDefaultValueAsString
void setDefaultValueAsString(java.lang.String item) throws InoNetException, SrvErrorExceptionSets the default value of this element.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
getActivityParameterNode
java.util.List<ACParamNode> getActivityParameterNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Activity parameter is an object node at the beginning or end of flows used for accepting inputs to an activity and providing outputs from it.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getParameterSet
java.util.List<CLParameterSet> getParameterSet() throws InoNetException, SrvErrorException
AllCLParameterSetthisCLParameteris contained in.- Throws:
InoNetExceptionSrvErrorException
-
setParameterSet
void setParameterSet(java.util.List<? extends CLParameterSet> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ParameterSet.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getOwnerFormalParam
CLBehavioralFeature getOwnerFormalParam() throws InoNetException, SrvErrorException
The behavioral feature owning this parameter.- Throws:
InoNetExceptionSrvErrorException
-
getOwningBehavior
BEBehavior getOwningBehavior() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
getOwningOperation
CLOperation getOwningOperation() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
getOwningParameterAble
CLParameterAble getOwningParameterAble() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
getTypingClassifier
CLClassifier getTypingClassifier() throws InoNetException, SrvErrorException
The classifier used as type for this parameter.- Throws:
InoNetExceptionSrvErrorException
-
getTypingTemplateParameterAbleClass
CLTemplateParameterAbleClass getTypingTemplateParameterAbleClass() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
-