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,METermAble,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionActivity parameter is an object node at the beginning or end of flows used for accepting inputs to an activity and providing outputs from it.Specifies a string that represents a value to be used when no argument is supplied for the parameter.Specifies the direction kind of this parameter.The behavioral feature owning this parameter.AllCLParameterSetthisCLParameteris contained in.getPin(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) If theCLParameteris assigned to aBEBehavior, all pins at aANCallBehaviorinvoking thisBEBehaviorand belonging to thisCLParameterwill be returned.getPin(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getPin and filters its return values according to the given stereotype value.The classifier used as type for this parameter.booleanChecks for a givenargument refObjif the parameter is or would be valid in this parameterCLParameterSet.booleanInforms 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(String value) Set the value of Attribut DefaultValue.voidSets 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(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, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2class.CLConnectAbleElement
getBindingRole, getConnectedLifeline, getConnectedLifeline, getEnd, getLifeline, getSupplierRoleBindingMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods 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, setUpperMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setTypeMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessageMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods 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, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Method Details
-
getDefaultValue
Specifies a string that represents a value to be used when no argument is supplied for the parameter.- Throws:
InoNetExceptionSrvErrorException
-
setDefaultValue
Set the value of Attribut DefaultValue.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDirection
Specifies the direction kind of this parameter.- Throws:
InoNetExceptionSrvErrorException
-
setDirection
Set the value of Attribut Direction.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isException
Informs whether an output parameter may emit a value to the exclusion of the other outputs.- Throws:
InoNetExceptionSrvErrorException
-
setException
Set the value of Attribut IsException.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isStream
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.- Throws:
InoNetExceptionSrvErrorException
-
setStream
Set the value of Attribut IsStream.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isInput
Is 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
Is 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
True, if this parameter has the 'return' direction.- Throws:
InoNetExceptionSrvErrorException
-
isEligibleForParameterSet
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> List<T> getPin(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> List<T> getPin(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
Sets the default value of this element.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
getActivityParameterNode
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.- Throws:
InoNetExceptionSrvErrorException
-
getParameterSet
AllCLParameterSetthisCLParameteris contained in.- Throws:
InoNetExceptionSrvErrorException
-
setParameterSet
void setParameterSet(List<? extends CLParameterSet> values) throws InoNetException, SrvErrorException Set the value of Foreign Key ParameterSet.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getOwnerFormalParam
The behavioral feature owning this parameter.- Throws:
InoNetExceptionSrvErrorException
-
getOwningBehavior
- Throws:
InoNetExceptionSrvErrorException
-
getOwningOperation
- Throws:
InoNetExceptionSrvErrorException
-
getOwningParameterAble
- Throws:
InoNetExceptionSrvErrorException
-
getTypingClassifier
The classifier used as type for this parameter.- Throws:
InoNetExceptionSrvErrorException
-
getTypingTemplateParameterAbleClass
CLTemplateParameterAbleClass getTypingTemplateParameterAbleClass() throws InoNetException, SrvErrorException- Throws:
InoNetExceptionSrvErrorException
-