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-matchingMdObjectfrom the based-on collection of a provided sourcegetObjectModule(MdObject source) Gets object module from a provided sourceMdObjectorg.eclipse.emf.common.util.URIgetObjectModuleUri(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
MdObjectwhich 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-matchingMdObjectfrom the based-on collection of a provided source- Parameters:
name- Name to match. Cannot benullsource- 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.
nullotherwise
-
getObjectModuleUri
Gets object module URI from a provided sourceMdObject- Parameters:
source- SourceMdObject. Cannot benull- Returns:
- Object module URI, if exist.
nullotherwise
-