Class SupplyDependencyContext
java.lang.Object
com._1c.g5.v8.dt.supply.datareference.SupplyDependencyContext
Contains element dependency context: element node name, element dependency
EClass
, and element dependency
name. Examples of the dependencies are form items that may depend on attributes (via datapaths in form fields)
and commands (via command names in buttons).-
Constructor Summary
ConstructorsConstructorDescriptionSupplyDependencyContext
(String parentName) Creates new dependency context instanceSupplyDependencyContext
(String parentName, org.eclipse.emf.ecore.EClass dependencyEClass, String dependencyName) Creates new dependency context instance -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EClass
Returns the dependencyEClass
Returns the dependency element nameReturns the element name.
-
Constructor Details
-
SupplyDependencyContext
public SupplyDependencyContext(String parentName, org.eclipse.emf.ecore.EClass dependencyEClass, String dependencyName) Creates new dependency context instance- Parameters:
parentName
- the element name, cannot benull
dependencyEClass
- the dependency elementEClass
, can benull
dependencyName
- the dependency element name, can benull
-
SupplyDependencyContext
Creates new dependency context instance- Parameters:
parentName
- the element name, cannot benull
-
-
Method Details
-
getParentName
Returns the element name.- Returns:
- the parentName, never
null
-
getDependencyEClass
public org.eclipse.emf.ecore.EClass getDependencyEClass()Returns the dependencyEClass
- Returns:
- the dependency
EClass
, can benull
-
getDependencyName
Returns the dependency element name- Returns:
- the dependency name, can be
null
-