Interface ELM2Class
- All Superinterfaces:
ELClassifier,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELM2Type,ELNamedElement,ELNamespaceAble,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELRedefAble,ELType,ELUUIDAble
- All Known Subinterfaces:
ELM2Association,MM2Association,MM2Class
This is a utility class for ELM2Class that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface ELM2Class 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 TypeMethodDescription<T extends ELM2CLCompartment>
List<T> getCompartment(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) This meta class' compartments.<T extends ELM2Verify>
List<T> getHierarchicalMetaVerify(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All meta verifies of this meta class and all general meta classes.<T extends ELM2Attribute>
List<T> getInverseProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties of inverse association ends.<T extends ELM2Attribute>
List<T> getInversePropertyDerivedRType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties of inverse association ends assigned to a derived relationship type.<T extends ELM2Attribute>
List<T> getInversePropertyNotDerivedRType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties of inverse association ends not assigned to a derived relationship type.getMEModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends ELM2Attribute>
List<T> getOwnedAttribute(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All attributes owned by this class.getPRContext(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) getPRNodeOfModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) getPRNodeOfNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends ELM2Attribute>
List<T> getPropertiesByM2AttributeSet(Class<T> returnType, K_M2ATTRIBUTE_SET kind, K_CONTROL_OPTION... behaviourFlags) All metaattributes of this class specified by argument kind.All element values typed by this meta class.All instance values typed by this meta class.<T extends ELM2Verify>
List<T> getVerify(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The meta classes this verify is assigned to.<T extends ELM2Attribute>
List<T> getVersionProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All members conform toELM2Attributes which are not derived and not connected to an association.<T extends ELM2Attribute>
List<T> getVersionPropertyRsIn(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties owned by this class or one of its general classes and connected to an association.<T extends ELM2Attribute>
List<T> getVersionPropertyRsOptional(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Takes all properties of VersionPropertyRsOut and replaces attributes owned by a relationship type with the corresponding attributes owned by the derived relationship type.<T extends ELM2Attribute>
List<T> getVersionPropertyRsOut(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties typed by this class or one of its general classes.getVOcl()Identification of this metaclass.booleanisConformToVOcl(Class<? extends ELObject> kind) True, if this class conforms to the class specified by argument kind.booleanisLocalizAbleM2Attr(ELM2Attribute refObj) True, if the meta attribute specified by attr is localizable.booleanisLocalizAbleVAttr(K_VATTR kind) True, if the meta attribute specified by argument kind is localizable.booleanTrue, if this metaclass conforms toMMStereotypeAble.booleanisValidModelTarget(ELContainerAble refObj) True, if this element conforms toargument refObjand this element is a valid container of the provided element.Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELClassifier
getAssociation, getAssociation, getAssociationEndFirstTypedBySelf, getAssociationEndFirstTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelf, getAssociationEndTypedBySelf, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationNavigableFrom, getAssociationNavigableFrom, getAssociationOfSelfOrGeneralTransitive, getAssociationOfSelfOrGeneralTransitive, getAssociationTypedBySelf, getAssociationTypedBySelf, getClassifierViewGroup, getEffectiveRedefinerOfAssocEnd, getEffectiveRedefinerOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getGeneralDirect, getGeneralDirect, getGeneralGeneralizationSet, getGeneralGeneralizationSet, getGeneralization, getGeneralTransitive, getGeneralTransitive, getItemDefinition, getOwnedAndInheritedMember, getOwnedAndInheritedMember, getPropertyNavigableFrom, getPropertyNavigableFrom, getPropertyNavigableFromSelfOrGeneralTransitive, getPropertyNavigableFromSelfOrGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitiveNotAbstract, getSelfAndSpecificTransitiveNotAbstract, getSpecialization, getSpecificDirect, getSpecificDirect, getSpecificGeneralization, getSpecificGeneralizationSet, getSpecificGeneralizationSet, getSpecificTransitive, getSpecificTransitive, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getTypedCLStructureEntry, getTypedMaskField, getTypesOfEffectiveSubsetterOfAssocEnd, getTypesOfEffectiveSubsetterOfAssocEnd, getViewTransitive, getViewTransitive, isAbstract, isRoot, isSpecificTransitive, setAbstractMethods 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.ELM2Type
getM2AttributeOfKind, getM2AttributeOfMode, getSchema, getTypedM2Attribute, getTypedValSpecNullValue, getTypedValSpecUnlimNatValueMethods 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.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImportMethods 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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd, isTypeReuseableMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
getVOcl
Identification of this metaclass.- Throws:
InoNetExceptionSrvErrorException
-
isConformToVOcl
True, if this class conforms to the class specified by argument kind.- Parameters:
kind- A value of type K_VOCL that controls the behaviour of the underlying method. (see description)- Throws:
InoNetExceptionSrvErrorException
-
isStereotypeAble
True, if this metaclass conforms toMMStereotypeAble.- Throws:
InoNetExceptionSrvErrorException
-
isValidModelTarget
True, if this element conforms toargument refObjand this element is a valid container of the provided element.- Parameters:
refObj- A further instance of type ELContainerAble which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
isLocalizAbleVAttr
True, if the meta attribute specified by argument kind is localizable.- Parameters:
kind- A value of type K_VATTR that controls the behaviour of the underlying method. (see description)- Throws:
InoNetExceptionSrvErrorException
-
isLocalizAbleM2Attr
True, if the meta attribute specified by attr is localizable.- Parameters:
refObj- A further instance of type ELM2Attribute which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
getHierarchicalMetaVerify
<T extends ELM2Verify> List<T> getHierarchicalMetaVerify(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All meta verifies of this meta class and all general meta classes.- 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
-
getInverseProperty
<T extends ELM2Attribute> List<T> getInverseProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties of inverse association ends.- 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
-
getInversePropertyDerivedRType
<T extends ELM2Attribute> List<T> getInversePropertyDerivedRType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties of inverse association ends assigned to a derived relationship type.- 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
-
getInversePropertyNotDerivedRType
<T extends ELM2Attribute> List<T> getInversePropertyNotDerivedRType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties of inverse association ends not assigned to a derived relationship type.- 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
-
getPropertiesByM2AttributeSet
<T extends ELM2Attribute> List<T> getPropertiesByM2AttributeSet(Class<T> returnType, K_M2ATTRIBUTE_SET kind, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All metaattributes of this class specified by argument kind. If more than one attribute set is provided by kind (bitwise or), the union of theses sets is returned.- Parameters:
returnType- Specifies the type of elements to be returned.kind- A value of type K_M2ATTRIBUTE_SET that controls the behaviour of the underlying method. (see description)behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getVersionProperty
<T extends ELM2Attribute> List<T> getVersionProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All members conform toELM2Attributes which are not derived and not connected to an association. Primary keys are not 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- Sorted:
- the result can be sorted.
-
getVersionPropertyRsIn
<T extends ELM2Attribute> List<T> getVersionPropertyRsIn(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties owned by this class or one of its general classes and connected to an association.- 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:
- the result can be sorted.
-
getVersionPropertyRsOptional
<T extends ELM2Attribute> List<T> getVersionPropertyRsOptional(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Takes all properties of VersionPropertyRsOut and replaces attributes owned by a relationship type with the corresponding attributes owned by the derived relationship type. The remaining attributes are replaced by their opposite association ends.- 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
-
getVersionPropertyRsOut
<T extends ELM2Attribute> List<T> getVersionPropertyRsOut(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties typed by this class or one of its general classes.- 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
-
getPRNodeOfModelElement
<T extends ELM2Class> List<T> getPRNodeOfModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getMEModelElement
<T extends ELM2Class> List<T> getMEModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getPRNodeOfNode
<T extends ELM2Class> List<T> getPRNodeOfNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getPRContext
<T extends ELM2Class> List<T> getPRContext(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getVerify
<T extends ELM2Verify> List<T> getVerify(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The meta classes this verify is assigned to.- 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
-
getCompartment
<T extends ELM2CLCompartment> List<T> getCompartment(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException This meta class' compartments.- 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
-
getOwnedAttribute
<T extends ELM2Attribute> List<T> getOwnedAttribute(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All attributes owned by this class.- 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:
- the result may be sorted.
-
getTypedValSpecInstVal
All instance values typed by this meta class.- Throws:
InoNetExceptionSrvErrorException
-
getTypedValSpecElement
All element values typed by this meta class.- Throws:
InoNetExceptionSrvErrorException
-
getPackage
- Throws:
InoNetExceptionSrvErrorException
-