org.openxma.dsl.dom.naming
Class DomNameFunction

java.lang.Object
  extended by org.openxma.dsl.dom.util.DomSwitch<String>
      extended by org.openxma.dsl.dom.naming.DomNameFunction
All Implemented Interfaces:
com.google.common.base.Function<org.eclipse.emf.ecore.EObject,org.eclipse.xtext.naming.QualifiedName>

public class DomNameFunction
extends DomSwitch<String>
implements com.google.common.base.Function<org.eclipse.emf.ecore.EObject,org.eclipse.xtext.naming.QualifiedName>


Field Summary
 
Fields inherited from class org.openxma.dsl.dom.util.DomSwitch
modelPackage
 
Constructor Summary
DomNameFunction()
           
 
Method Summary
 org.eclipse.xtext.naming.QualifiedName apply(org.eclipse.emf.ecore.EObject theEObject)
           
 String caseFeatureReference(FeatureReference object)
          Returns the result of interpreting the object as an instance of 'Feature Reference'.
 String defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
 
Methods inherited from class org.openxma.dsl.dom.util.DomSwitch
caseAggregateFunction, caseAliasedExpression, caseAltWhenClause, caseApplicationSession, caseAttribute, caseAttributeFlag, caseAttributeGroup, caseAttributeProperty, caseAttributeSortOrder, caseAttributeTextProperty, caseAttributeValidationProperty, caseAvailableFlag, caseBetweenExpression, caseBinaryExpression, caseBooleanLiteralValue, caseCallableStatement, caseCallInputParameter, caseCallOutputParameter, caseCaseExpression, caseCastFunction, caseCollectionFunction, caseColumn, caseComplexType, caseDao, caseDaoFeature, caseDaoOperation, caseDataBaseConstraint, caseDataView, caseDelegateOperation, caseDeleteStatement, caseDependant, caseDerivedFlag, caseEmptyLiteralValue, caseEntity, caseExpression, caseExpressionFlag, caseFromClass, caseFromRange, caseFunctionCall, caseIDocumentable, caseIElementWithNoName, caseInClass, caseInCollection, caseInCollectionElements, caseInExpression, caseInsertStatement, caseIntegerLiteralValue, caseJoin, caseJoinEntity, caseLikeExpression, caseLiteralValue, caseManyToMany, caseManyToOne, caseMapper, caseMemberOfExpression, caseModelElement, caseNotExpression, caseNullLiteralValue, caseOneToMany, caseOneToOne, caseOperation, caseParameter, caseParenthesizedExpression, casePresentableFeature, caseProperty, casePropertyAssignment, casePropertyMapping, casePropertyValue, caseQlStatement, caseQuantifiedExpression, caseQueryOperation, caseQueryParameter, caseQueryParameterReference, caseQueryParameterValue, caseReadOnlyFlag, caseRealLiteralValue, caseReferenceableByXmadslVariable, caseRequiredFlag, caseSelectClass, caseSelectObject, caseSelectProperties, caseSelectStatement, caseService, caseSortOrderElement, caseStringLiteralValue, caseSubQuery, caseTransientFlag, caseTrimFunction, caseType, caseUnaryExpression, caseUpdateStatement, caseValueObject, caseWhenClause, doSwitch, doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

DomNameFunction

public DomNameFunction()
Method Detail

apply

public org.eclipse.xtext.naming.QualifiedName apply(org.eclipse.emf.ecore.EObject theEObject)
Specified by:
apply in interface com.google.common.base.Function<org.eclipse.emf.ecore.EObject,org.eclipse.xtext.naming.QualifiedName>

defaultCase

public String defaultCase(org.eclipse.emf.ecore.EObject object)
Description copied from class: DomSwitch
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Overrides:
defaultCase in class DomSwitch<String>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
DomSwitch.doSwitch(org.eclipse.emf.ecore.EObject)

caseFeatureReference

public String caseFeatureReference(FeatureReference object)
Description copied from class: DomSwitch
Returns the result of interpreting the object as an instance of 'Feature Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseFeatureReference in class DomSwitch<String>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Feature Reference'.
See Also:
doSwitch(EObject)


Copyright © 2013. All Rights Reserved.