Interface CLStructureElement
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,CLValueRangeAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELShortNameAble,ELUUIDAble,ELViewElement,MEModelElement,MENamedElement,MENamespaceAsgnAble
- All Known Subinterfaces:
CLStructureDefinition,CLStructureEntry,CLStructureGroup
public interface CLStructureElement
extends MENamespaceAsgnAble, ELViewElement, CLValueRangeAble, ELShortNameAble
This is a utility class for CLStructureElement that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface CLStructureElement describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateCopyFromGroupAble(ELViewGroupAble ohGroupAble, boolean copyRecursive, boolean useInGroup, ARG_StereotypeRelationsOut valStereoRel) createEntriesForClassifierFeatures(ELClassifier ohClassifier) <T extends CLStructureElement>
List<T> getNestedStructureElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All structure elements being contained in this structure element.<T extends CLStructureElement>
List<T> getNestedStructureElement(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getNestedStructureElement and filters its return values according to the given stereotype value.The attribute identifies the type language used to specify the base type of thisCLStructureElement.booleanSetting this flag to true indicates that the actual values defined by thisCLStructureElementare collections of allowed values.voidremoveEntriesForClassifierFeatures(ELClassifier ohClassifier) voidsetCollection(boolean value) Set the value of Attribut IsCollection.voidsetTypeLanguage(String value) Set the value of Attribut TypeLanguage.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.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2class.CLValueRangeAble
createRangeValue, deleteRangeValue, getModifyValueRangeList, getOwnedTypeRestriction, getOwnedValueRange, getOwnedValueRestriction, getRangeValues, getTypeRestrictionSpecification, getValueRangeAsString, getValueRestrictionLanguage, getValueRestrictionSpecification, mergeRangeValues, modifyRangeValue, modifyValueRangeList, setTypeRestrictionSpecification, setValueRangeAsString, setValueRestrictionLanguage, setValueRestrictionSpecificationMethods 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.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.ELShortNameAble
getShortName, getShortNameKind, setShortName, setShortNameKind, setUniqueShortNameMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewElement
getConcreteExpression, getConcreteExpressionQuoted, getEnvironmentView, getExprFlowText, getExprInnoRefText, getExprText, getModifyViewExpressionFlow, getUsedFeature, modifyViewExpressionFlow, setConcreteExpression, setExprFlowText, setExprInnoRefText, setUsedFeatureMethods 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, getSignatureMessage
-
Method Details
-
isCollection
Setting this flag to true indicates that the actual values defined by thisCLStructureElementare collections of allowed values. The default is false.- Throws:
InoNetExceptionSrvErrorException
-
setCollection
Set the value of Attribut IsCollection.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTypeLanguage
The attribute identifies the type language used to specify the base type of thisCLStructureElement. The language SHALL be specified in a URI format.- Throws:
InoNetExceptionSrvErrorException
-
setTypeLanguage
Set the value of Attribut TypeLanguage.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getNestedStructureElement
<T extends CLStructureElement> List<T> getNestedStructureElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All structure elements being contained in this structure element. If the element is not a grouping element the list of elements returned will be empty.- 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- Sorted:
-
getNestedStructureElement
<T extends CLStructureElement> List<T> getNestedStructureElement(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getNestedStructureElement 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
-
createCopyFromGroupAble
List<CLStructureElement> createCopyFromGroupAble(ELViewGroupAble ohGroupAble, boolean copyRecursive, boolean useInGroup, ARG_StereotypeRelationsOut valStereoRel) throws InoNetException, SrvErrorException Creates a group as copy of the specified group and entries for each contained entry. If the specified group is of type classifier the new group will be connected to this classifier. Each entry is directly connected to the feature it uses.- Parameters:
ohGroupAble- group able elementcopyRecursive- true, if view groups are copied recursiveuseInGroup- true, if ohIn is used as first group, otherwise a new group is createdvalStereoRel- configured stereotype relationships- Throws:
InoNetExceptionSrvErrorException
-
createEntriesForClassifierFeatures
List<CLStructureElement> createEntriesForClassifierFeatures(ELClassifier ohClassifier) throws InoNetException, SrvErrorException Creates an entry for each feature of the classifier. Each entry is directly connected to the feature it uses. If a feature is already used by a direct entry of the structure no entry will be created.- Parameters:
ohClassifier- classifier which contains useable features- Throws:
InoNetExceptionSrvErrorException
-
removeEntriesForClassifierFeatures
void removeEntriesForClassifierFeatures(ELClassifier ohClassifier) throws InoNetException, SrvErrorException - Parameters:
ohClassifier- classifier which contains useable features- Throws:
InoNetExceptionSrvErrorException
-