Interface ELPackage
- All Superinterfaces:
ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELPackageAble, ELUUIDAble
- All Known Subinterfaces:
ADApplConfPackage, ADModel, ADXModel, DBPackage, ELM2Package, MEConfigurationManagement, MEMappingConfigurationPackage, MEMappingConfigurationPackageForward, MEMappingConfigurationPackageReverse, MEMappingPackageContent, MEMappingPackageType, MEMappingPackageTypeForward, MEMappingPackageTypeReverse, MEModel, MEPackage, MEStubPackage, MEStubPackageBase, MEStubPackageExternalModel, MEStubPackageInnovator, MESystemModel, MESystemModelManagement, MM2Package, MMProfile, MMSyncProfile, MMXProfile
A package is a namespace for its members and may contain other packages. Only packageable elements can be owned members of a package. As a package is a namespace, it can import either individual members of other packages or all members of other packages.
- Note:
- The interface ELPackage 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 TypeMethodDescriptiongetAppliedProfile(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All profiles which are applied by this package.getAppliedProfileTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All profiles which are applied by this package, extended transitively by all applied profiles.<T extends ELNamespaceAble>
List<T> getImportingNamespace(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All namespaces that import this package.<T extends ELNamespaceAble>
List<T> getImportingNamespace(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getImportingNamespace and filters its return values according to the given stereotype value.<T extends ELNamespaceAble>
List<T> getImportingNamespaceTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All namespaces that import this package, extended transitively by all importing namespaces.<T extends ELNamespaceAble>
List<T> getImportingNamespaceTransitive(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getImportingNamespaceTransitive and filters its return values according to the given stereotype value.<T extends ELPackageAble>
List<T> getPackagedElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends ELPackageImport>
List<T> getPackageImported(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All package imports that import this package.getPublicImportedPackage(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Returns all packages imported by anELPackageImportwith 'public' visibility.getPublicImportedPackage(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getPublicImportedPackage and filters its return values according to the given stereotype value.getPublicImportedPackageTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Returns all packages imported by anELPackageImportwith 'public' visibility extended transitively by all public imported packages.getPublicImportedPackageTransitive(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getPublicImportedPackageTransitive and filters its return values according to the given stereotype value.voidsetAppliedProfile(List<? extends MMProfile> values) Set the value of View AppliedProfile.Methods inherited from interface ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface ELDeleteAble
deleteMethods inherited from interface 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 ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getItemDefinition, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImportMethods inherited from interface ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
getAppliedProfile
<T extends MMProfile> List<T> getAppliedProfile(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All profiles which are applied by this package.- 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
-
setAppliedProfile
Set the value of View AppliedProfile.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getAppliedProfileTransitive
<T extends MMProfile> List<T> getAppliedProfileTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All profiles which are applied by this package, extended transitively by all applied profiles.- 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
-
getImportingNamespace
<T extends ELNamespaceAble> List<T> getImportingNamespace(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All namespaces that import this package.- 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
-
getImportingNamespace
<T extends ELNamespaceAble> List<T> getImportingNamespace(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getImportingNamespace 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
-
getImportingNamespaceTransitive
<T extends ELNamespaceAble> List<T> getImportingNamespaceTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All namespaces that import this package, extended transitively by all importing namespaces.- 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
-
getImportingNamespaceTransitive
<T extends ELNamespaceAble> List<T> getImportingNamespaceTransitive(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getImportingNamespaceTransitive 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
-
getPublicImportedPackage
<T extends ELPackage> List<T> getPublicImportedPackage(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Returns all packages imported by anELPackageImportwith 'public' visibility.- 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
-
getPublicImportedPackage
<T extends ELPackage> List<T> getPublicImportedPackage(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getPublicImportedPackage 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
-
getPublicImportedPackageTransitive
<T extends ELPackage> List<T> getPublicImportedPackageTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Returns all packages imported by anELPackageImportwith 'public' visibility extended transitively by all public imported packages.- 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
-
getPublicImportedPackageTransitive
<T extends ELPackage> List<T> getPublicImportedPackageTransitive(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getPublicImportedPackageTransitive 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
-
getPackageImported
<T extends ELPackageImport> List<T> getPackageImported(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All package imports that import this package.- 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
-
getPackagedElement
<T extends ELPackageAble> List<T> getPackagedElement(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- Sorted:
- the result may be sorted.
-