Class XsemanticsAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.eclipse.xsemantics.dsl.xsemantics.util.XsemanticsAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class XsemanticsAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImplThe Adapter Factory for the model. It provides an adaptercreateXXXmethod for each class of the model.- See Also:
XsemanticsPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static XsemanticsPackagemodelPackageThe cached model package.protected XsemanticsSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description XsemanticsAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAbstractFieldDefinitionAdapter()Creates a new adapter for an object of class 'Abstract Field Definition'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateAuxiliaryDescriptionAdapter()Creates a new adapter for an object of class 'Auxiliary Description'.org.eclipse.emf.common.notify.AdaptercreateAuxiliaryFunctionAdapter()Creates a new adapter for an object of class 'Auxiliary Function'.org.eclipse.emf.common.notify.AdaptercreateAxiomAdapter()Creates a new adapter for an object of class 'Axiom'.org.eclipse.emf.common.notify.AdaptercreateCachableAdapter()Creates a new adapter for an object of class 'Cachable'.org.eclipse.emf.common.notify.AdaptercreateCachedClauseAdapter()Creates a new adapter for an object of class 'Cached Clause'.org.eclipse.emf.common.notify.AdaptercreateCheckRuleAdapter()Creates a new adapter for an object of class 'Check Rule'.org.eclipse.emf.common.notify.AdaptercreateDescriptionAdapter()Creates a new adapter for an object of class 'Description'.org.eclipse.emf.common.notify.AdaptercreateEmptyEnvironmentAdapter()Creates a new adapter for an object of class 'Empty Environment'.org.eclipse.emf.common.notify.AdaptercreateEnvironmentAdapter()Creates a new adapter for an object of class 'Environment'.org.eclipse.emf.common.notify.AdaptercreateEnvironmentCompositionAdapter()Creates a new adapter for an object of class 'Environment Composition'.org.eclipse.emf.common.notify.AdaptercreateEnvironmentMappingAdapter()Creates a new adapter for an object of class 'Environment Mapping'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateErrorSpecificationAdapter()Creates a new adapter for an object of class 'Error Specification'.org.eclipse.emf.common.notify.AdaptercreateExpressionInConclusionAdapter()Creates a new adapter for an object of class 'Expression In Conclusion'.org.eclipse.emf.common.notify.AdaptercreateFailAdapter()Creates a new adapter for an object of class 'Fail'.org.eclipse.emf.common.notify.AdaptercreateFieldDefinitionAdapter()Creates a new adapter for an object of class 'Field Definition'.org.eclipse.emf.common.notify.AdaptercreateInjectedAdapter()Creates a new adapter for an object of class 'Injected'.org.eclipse.emf.common.notify.AdaptercreateInputParameterAdapter()Creates a new adapter for an object of class 'Input Parameter'.org.eclipse.emf.common.notify.AdaptercreateJudgmentDescriptionAdapter()Creates a new adapter for an object of class 'Judgment Description'.org.eclipse.emf.common.notify.AdaptercreateJudgmentParameterAdapter()Creates a new adapter for an object of class 'Judgment Parameter'.org.eclipse.emf.common.notify.AdaptercreateNamedAdapter()Creates a new adapter for an object of class 'Named'.org.eclipse.emf.common.notify.AdaptercreateOrExpressionAdapter()Creates a new adapter for an object of class 'Or Expression'.org.eclipse.emf.common.notify.AdaptercreateOutputParameterAdapter()Creates a new adapter for an object of class 'Output Parameter'.org.eclipse.emf.common.notify.AdaptercreateOverriderAdapter()Creates a new adapter for an object of class 'Overrider'.org.eclipse.emf.common.notify.AdaptercreateReferToJudgmentAdapter()Creates a new adapter for an object of class 'Refer To Judgment'.org.eclipse.emf.common.notify.AdaptercreateRuleAdapter()Creates a new adapter for an object of class 'Rule'.org.eclipse.emf.common.notify.AdaptercreateRuleConclusionAdapter()Creates a new adapter for an object of class 'Rule Conclusion'.org.eclipse.emf.common.notify.AdaptercreateRuleConclusionElementAdapter()Creates a new adapter for an object of class 'Rule Conclusion Element'.org.eclipse.emf.common.notify.AdaptercreateRuleInvocationAdapter()Creates a new adapter for an object of class 'Rule Invocation'.org.eclipse.emf.common.notify.AdaptercreateRuleParameterAdapter()Creates a new adapter for an object of class 'Rule Parameter'.org.eclipse.emf.common.notify.AdaptercreateRuleWithPremisesAdapter()Creates a new adapter for an object of class 'Rule With Premises'.org.eclipse.emf.common.notify.AdaptercreateUniqueByNameAdapter()Creates a new adapter for an object of class 'Unique By Name'.org.eclipse.emf.common.notify.AdaptercreateXExpressionAdapter()Creates a new adapter for an object of class 'XExpression'.org.eclipse.emf.common.notify.AdaptercreateXsemanticsFileAdapter()Creates a new adapter for an object of class 'File'.org.eclipse.emf.common.notify.AdaptercreateXsemanticsSystemAdapter()Creates a new adapter for an object of class 'System'.booleanisFactoryForType(java.lang.Object object)Returns whether this factory is applicable for the type of the object.
-
-
-
Field Detail
-
modelPackage
protected static XsemanticsPackage modelPackage
The cached model package.
-
modelSwitch
protected XsemanticsSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget.- Overrides:
createAdapterin classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createXsemanticsFileAdapter
public org.eclipse.emf.common.notify.Adapter createXsemanticsFileAdapter()
Creates a new adapter for an object of class 'File'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
XsemanticsFile
-
createXsemanticsSystemAdapter
public org.eclipse.emf.common.notify.Adapter createXsemanticsSystemAdapter()
Creates a new adapter for an object of class 'System'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
XsemanticsSystem
-
createInjectedAdapter
public org.eclipse.emf.common.notify.Adapter createInjectedAdapter()
Creates a new adapter for an object of class 'Injected'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Injected
-
createAuxiliaryDescriptionAdapter
public org.eclipse.emf.common.notify.Adapter createAuxiliaryDescriptionAdapter()
Creates a new adapter for an object of class 'Auxiliary Description'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AuxiliaryDescription
-
createJudgmentDescriptionAdapter
public org.eclipse.emf.common.notify.Adapter createJudgmentDescriptionAdapter()
Creates a new adapter for an object of class 'Judgment Description'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
JudgmentDescription
-
createJudgmentParameterAdapter
public org.eclipse.emf.common.notify.Adapter createJudgmentParameterAdapter()
Creates a new adapter for an object of class 'Judgment Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
JudgmentParameter
-
createAuxiliaryFunctionAdapter
public org.eclipse.emf.common.notify.Adapter createAuxiliaryFunctionAdapter()
Creates a new adapter for an object of class 'Auxiliary Function'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AuxiliaryFunction
-
createRuleAdapter
public org.eclipse.emf.common.notify.Adapter createRuleAdapter()
Creates a new adapter for an object of class 'Rule'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Rule
-
createAxiomAdapter
public org.eclipse.emf.common.notify.Adapter createAxiomAdapter()
Creates a new adapter for an object of class 'Axiom'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Axiom
-
createRuleWithPremisesAdapter
public org.eclipse.emf.common.notify.Adapter createRuleWithPremisesAdapter()
Creates a new adapter for an object of class 'Rule With Premises'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RuleWithPremises
-
createCheckRuleAdapter
public org.eclipse.emf.common.notify.Adapter createCheckRuleAdapter()
Creates a new adapter for an object of class 'Check Rule'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
CheckRule
-
createRuleConclusionAdapter
public org.eclipse.emf.common.notify.Adapter createRuleConclusionAdapter()
Creates a new adapter for an object of class 'Rule Conclusion'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RuleConclusion
-
createRuleInvocationAdapter
public org.eclipse.emf.common.notify.Adapter createRuleInvocationAdapter()
Creates a new adapter for an object of class 'Rule Invocation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RuleInvocation
-
createEnvironmentAdapter
public org.eclipse.emf.common.notify.Adapter createEnvironmentAdapter()
Creates a new adapter for an object of class 'Environment'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Environment
-
createRuleConclusionElementAdapter
public org.eclipse.emf.common.notify.Adapter createRuleConclusionElementAdapter()
Creates a new adapter for an object of class 'Rule Conclusion Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RuleConclusionElement
-
createRuleParameterAdapter
public org.eclipse.emf.common.notify.Adapter createRuleParameterAdapter()
Creates a new adapter for an object of class 'Rule Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RuleParameter
-
createExpressionInConclusionAdapter
public org.eclipse.emf.common.notify.Adapter createExpressionInConclusionAdapter()
Creates a new adapter for an object of class 'Expression In Conclusion'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ExpressionInConclusion
-
createOutputParameterAdapter
public org.eclipse.emf.common.notify.Adapter createOutputParameterAdapter()
Creates a new adapter for an object of class 'Output Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
OutputParameter
-
createInputParameterAdapter
public org.eclipse.emf.common.notify.Adapter createInputParameterAdapter()
Creates a new adapter for an object of class 'Input Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
InputParameter
-
createOrExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createOrExpressionAdapter()
Creates a new adapter for an object of class 'Or Expression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
OrExpression
-
createFailAdapter
public org.eclipse.emf.common.notify.Adapter createFailAdapter()
Creates a new adapter for an object of class 'Fail'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Fail
-
createEnvironmentCompositionAdapter
public org.eclipse.emf.common.notify.Adapter createEnvironmentCompositionAdapter()
Creates a new adapter for an object of class 'Environment Composition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
EnvironmentComposition
-
createEnvironmentMappingAdapter
public org.eclipse.emf.common.notify.Adapter createEnvironmentMappingAdapter()
Creates a new adapter for an object of class 'Environment Mapping'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
EnvironmentMapping
-
createEmptyEnvironmentAdapter
public org.eclipse.emf.common.notify.Adapter createEmptyEnvironmentAdapter()
Creates a new adapter for an object of class 'Empty Environment'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
EmptyEnvironment
-
createErrorSpecificationAdapter
public org.eclipse.emf.common.notify.Adapter createErrorSpecificationAdapter()
Creates a new adapter for an object of class 'Error Specification'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ErrorSpecification
-
createUniqueByNameAdapter
public org.eclipse.emf.common.notify.Adapter createUniqueByNameAdapter()
Creates a new adapter for an object of class 'Unique By Name'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
UniqueByName
-
createOverriderAdapter
public org.eclipse.emf.common.notify.Adapter createOverriderAdapter()
Creates a new adapter for an object of class 'Overrider'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Overrider
-
createReferToJudgmentAdapter
public org.eclipse.emf.common.notify.Adapter createReferToJudgmentAdapter()
Creates a new adapter for an object of class 'Refer To Judgment'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ReferToJudgment
-
createNamedAdapter
public org.eclipse.emf.common.notify.Adapter createNamedAdapter()
Creates a new adapter for an object of class 'Named'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Named
-
createCachedClauseAdapter
public org.eclipse.emf.common.notify.Adapter createCachedClauseAdapter()
Creates a new adapter for an object of class 'Cached Clause'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
CachedClause
-
createCachableAdapter
public org.eclipse.emf.common.notify.Adapter createCachableAdapter()
Creates a new adapter for an object of class 'Cachable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Cachable
-
createDescriptionAdapter
public org.eclipse.emf.common.notify.Adapter createDescriptionAdapter()
Creates a new adapter for an object of class 'Description'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Description
-
createAbstractFieldDefinitionAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractFieldDefinitionAdapter()
Creates a new adapter for an object of class 'Abstract Field Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AbstractFieldDefinition
-
createFieldDefinitionAdapter
public org.eclipse.emf.common.notify.Adapter createFieldDefinitionAdapter()
Creates a new adapter for an object of class 'Field Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
FieldDefinition
-
createXExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createXExpressionAdapter()
Creates a new adapter for an object of class 'XExpression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- Since:
- 2.7
- See Also:
XExpression
-
createEObjectAdapter
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-
-