Package com.e1c.g5.v8.dt.gsw
Interface IGenerationBasedOnManagementService
- All Known Implementing Classes:
GenerationBasedOnManagementService
public interface IGenerationBasedOnManagementService
General logic of based on generation functionality management
-
Method Summary
Modifier and TypeMethodDescriptiongetBasedOn
(MdObject source) Gets current content of based-on collection from a provided sourcegetBasedOnTargets
(MdObject source) Gets allMdObject
's that are applicable as based-on targets for a given object.getFirstMatchingBasis
(String name, MdObject source) Gets first name-matchingMdObject
from the based-on collection of a provided sourcegetObjectModule
(MdObject source) Gets object module from a provided sourceMdObject
org.eclipse.emf.common.util.URI
getObjectModuleUri
(MdObject source) Gets object module URI from a provided sourceMdObject
-
Method Details
-
getBasedOn
Gets current content of based-on collection from a provided source- Parameters:
source
- A supported source having based-on logic. Cannot benull
- Returns:
- Collection of
MdObject
which are the base for a provided source. Cannot benull
. Can be empty
-
getBasedOnTargets
Gets allMdObject
's that are applicable as based-on targets for a given object. The result is being filtered of objects that are already used as basis for a given object.- Parameters:
source
- The sourceMdObject
. Cannot benull
- Returns:
- Collection of applicable objects. Never
null
-
getFirstMatchingBasis
Gets first name-matchingMdObject
from the based-on collection of a provided source- Parameters:
name
- Name to match. Cannot benull
source
- Source object to get basis from. Cannot benull
- Returns:
- Matching basis object. Can be
null
-
getObjectModule
Gets object module from a provided sourceMdObject
- Parameters:
source
- SourceMdObject
. Cannot benull
- Returns:
- Object module, if exist.
null
otherwise
-
getObjectModuleUri
Gets object module URI from a provided sourceMdObject
- Parameters:
source
- SourceMdObject
. Cannot benull
- Returns:
- Object module URI, if exist.
null
otherwise
-