Interface ELM2Class
-
- All Superinterfaces:
ELClassifier
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELM2Type
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELRedefAble
,ELType
,ELUUIDAble
- All Known Subinterfaces:
ELM2Association
,MM2Association
,MM2Class
public interface ELM2Class extends ELM2Type, ELClassifier
This is a utility class for ELM2Class that provides static methods for creation or other purposes.- See Also:
ELM2ClassHelper
- 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 Modifier and Type Interface Description static class
ELM2Class.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends ELM2CLCompartment>
java.util.List<T>getCompartment(java.lang.Class<T> returnType)
This meta class' compartments.<T extends ELM2Verify>
java.util.List<T>getHierarchicalMetaVerify(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All meta verifies of this meta class and all general meta classes.<T extends ELM2Attribute>
java.util.List<T>getInverseProperty(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties of inverse association ends.<T extends ELM2Attribute>
java.util.List<T>getInversePropertyDerivedRType(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties of inverse association ends assigned to a derived relationship type.<T extends ELM2Attribute>
java.util.List<T>getInversePropertyNotDerivedRType(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties of inverse association ends not assigned to a derived relationship type.<T extends ELM2Class>
java.util.List<T>getMEModelElement(java.lang.Class<T> returnType)
<T extends ELM2Attribute>
java.util.List<T>getOwnedAttribute(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All attributes owned by this class.ELM2Package
getPackage()
<T extends ELM2Class>
java.util.List<T>getPRContext(java.lang.Class<T> returnType)
<T extends ELM2Class>
java.util.List<T>getPRNodeOfModelElement(java.lang.Class<T> returnType)
<T extends ELM2Class>
java.util.List<T>getPRNodeOfNode(java.lang.Class<T> returnType)
<T extends ELM2Attribute>
java.util.List<T>getPropertiesByM2AttributeSet(java.lang.Class<T> returnType, K_M2ATTRIBUTE_SET kind, K_CONTROL_OPTION... behaviourFlags)
All metaattributes of this class specified by argument kind.java.util.List<ELValSpecELElement>
getTypedValSpecElement(K_CONTROL_OPTION... behaviourFlags)
All element values typed by this meta class.java.util.List<ELValSpecInstVal>
getTypedValSpecInstVal(K_CONTROL_OPTION... behaviourFlags)
All instance values typed by this meta class.<T extends ELM2Verify>
java.util.List<T>getVerify(java.lang.Class<T> returnType)
The meta classes this verify is assigned to.<T extends ELM2Attribute>
java.util.List<T>getVersionProperty(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All members conform toELM2Attribute
s which are not derived and not connected to an association.<T extends ELM2Attribute>
java.util.List<T>getVersionPropertyRsIn(java.lang.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>
java.util.List<T>getVersionPropertyRsOptional(java.lang.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>
java.util.List<T>getVersionPropertyRsOut(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties typed by this class or one of its general classes.java.lang.Class<? extends ELObject>
getVOcl()
Identification of this metaclass.boolean
isConformToVOcl(java.lang.Class<? extends ELObject> kind)
True, if this class conforms to the class specified by argument kind.boolean
isLocalizAbleM2Attr(ELM2Attribute refObj)
True, if the meta attribute specified by attr is localizable.boolean
isLocalizAbleVAttr(K_VATTR kind)
True, if the meta attribute specified by argument kind is localizable.boolean
isStereotypeAble()
True, if this metaclass conforms toMMStereotypeAble
.boolean
isValidModelTarget(ELContainerAble refObj)
True, if this element conforms toargument refObj
and 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, setAbstract
-
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.ELM2Type
getM2AttributeOfKind, getM2AttributeOfMode, getSchema, getTypedM2Attribute, getTypedValSpecNullValue, getTypedValSpecUnlimNatValue
-
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.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
-
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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
-
-
-
Method Detail
-
getVOcl
java.lang.Class<? extends ELObject> getVOcl() throws InoNetException, SrvErrorException
Identification of this metaclass.- Throws:
InoNetException
SrvErrorException
-
isConformToVOcl
boolean isConformToVOcl(java.lang.Class<? extends ELObject> kind) throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
isStereotypeAble
boolean isStereotypeAble() throws InoNetException, SrvErrorException
True, if this metaclass conforms toMMStereotypeAble
.- Throws:
InoNetException
SrvErrorException
-
isValidModelTarget
boolean isValidModelTarget(ELContainerAble refObj) throws InoNetException, SrvErrorException
True, if this element conforms toargument refObj
and 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:
InoNetException
SrvErrorException
-
isLocalizAbleVAttr
boolean isLocalizAbleVAttr(K_VATTR kind) throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
isLocalizAbleM2Attr
boolean isLocalizAbleM2Attr(ELM2Attribute refObj) throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getHierarchicalMetaVerify
<T extends ELM2Verify> java.util.List<T> getHierarchicalMetaVerify(java.lang.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:
InoNetException
SrvErrorException
-
getInverseProperty
<T extends ELM2Attribute> java.util.List<T> getInverseProperty(java.lang.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:
InoNetException
SrvErrorException
-
getInversePropertyDerivedRType
<T extends ELM2Attribute> java.util.List<T> getInversePropertyDerivedRType(java.lang.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:
InoNetException
SrvErrorException
-
getInversePropertyNotDerivedRType
<T extends ELM2Attribute> java.util.List<T> getInversePropertyNotDerivedRType(java.lang.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:
InoNetException
SrvErrorException
-
getPropertiesByM2AttributeSet
<T extends ELM2Attribute> java.util.List<T> getPropertiesByM2AttributeSet(java.lang.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:
InoNetException
SrvErrorException
-
getVersionProperty
<T extends ELM2Attribute> java.util.List<T> getVersionProperty(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All members conform toELM2Attribute
s 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:
InoNetException
SrvErrorException
- Sorted:
- the result can be sorted.
-
getVersionPropertyRsIn
<T extends ELM2Attribute> java.util.List<T> getVersionPropertyRsIn(java.lang.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:
InoNetException
SrvErrorException
- Sorted:
- the result can be sorted.
-
getVersionPropertyRsOptional
<T extends ELM2Attribute> java.util.List<T> getVersionPropertyRsOptional(java.lang.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:
InoNetException
SrvErrorException
-
getVersionPropertyRsOut
<T extends ELM2Attribute> java.util.List<T> getVersionPropertyRsOut(java.lang.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:
InoNetException
SrvErrorException
-
getPRNodeOfModelElement
<T extends ELM2Class> java.util.List<T> getPRNodeOfModelElement(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getMEModelElement
<T extends ELM2Class> java.util.List<T> getMEModelElement(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getPRNodeOfNode
<T extends ELM2Class> java.util.List<T> getPRNodeOfNode(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getPRContext
<T extends ELM2Class> java.util.List<T> getPRContext(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getVerify
<T extends ELM2Verify> java.util.List<T> getVerify(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
The meta classes this verify is assigned to.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getCompartment
<T extends ELM2CLCompartment> java.util.List<T> getCompartment(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
This meta class' compartments.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getOwnedAttribute
<T extends ELM2Attribute> java.util.List<T> getOwnedAttribute(java.lang.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:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getTypedValSpecInstVal
java.util.List<ELValSpecInstVal> getTypedValSpecInstVal(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All instance values typed by this meta class.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getTypedValSpecElement
java.util.List<ELValSpecELElement> getTypedValSpecElement(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All element values typed by this meta class.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getPackage
ELM2Package getPackage() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
-