public class VersioningSwitch<T> extends Object
doSwitch(object) to invoke the caseXXX method
for each class of the model,
starting with the actual class of the object and proceeding up the
inheritance hierarchy until a non-null result is returned, which is the
result of the switch. VersioningPackage| Constructor and Description |
|---|
VersioningSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractChangePackage(AbstractChangePackage object)
Returns the result of interpreting the object as an instance of 'Abstract Change Package'.
|
T |
caseAncestorVersionSpec(AncestorVersionSpec object)
Returns the result of interpreting the object as an instance of ' Ancestor Version Spec'.
|
T |
caseBranchInfo(BranchInfo object)
Returns the result of interpreting the object as an instance of 'Branch Info'.
|
T |
caseBranchVersionSpec(BranchVersionSpec object)
Returns the result of interpreting the object as an instance of ' Branch Version Spec'.
|
T |
caseChangePackage(ChangePackage object)
Returns the result of interpreting the object as an instance of 'Change Package'.
|
T |
caseChangePackageEnvelope(ChangePackageEnvelope object)
Returns the result of interpreting the object as an instance of 'Change Package Envelope'.
|
T |
caseChangePackageProxy(ChangePackageProxy object)
Returns the result of interpreting the object as an instance of 'Change Package Proxy'.
|
T |
caseDateVersionSpec(DateVersionSpec object)
Returns the result of interpreting the object as an instance of ' Date Version Spec'.
|
T |
caseFileBasedChangePackage(FileBasedChangePackage object)
Returns the result of interpreting the object as an instance of 'File Based Change Package'.
|
T |
caseHeadVersionSpec(HeadVersionSpec object)
Returns the result of interpreting the object as an instance of ' Head Version Spec'.
|
T |
caseHistoryInfo(HistoryInfo object)
Returns the result of interpreting the object as an instance of 'History Info'.
|
T |
caseHistoryQuery(HistoryQuery object)
Returns the result of interpreting the object as an instance of 'History Query'.
|
T |
caseLogMessage(LogMessage object)
Returns the result of interpreting the object as an instance of 'Log Message'.
|
T |
caseModelElementQuery(ModelElementQuery object)
Returns the result of interpreting the object as an instance of ' Model Element Query'.
|
T |
caseOperationProxy(OperationProxy object)
Returns the result of interpreting the object as an instance of 'Operation Proxy'.
|
T |
casePagedUpdateVersionSpec(PagedUpdateVersionSpec object)
Returns the result of interpreting the object as an instance of 'Paged Update Version Spec'.
|
T |
casePathQuery(PathQuery object)
Returns the result of interpreting the object as an instance of 'Path Query'.
|
T |
casePrimaryVersionSpec(PrimaryVersionSpec object)
Returns the result of interpreting the object as an instance of ' Primary Version Spec'.
|
T |
caseRangeQuery(RangeQuery object)
Returns the result of interpreting the object as an instance of 'Range Query'.
|
T |
caseTagVersionSpec(TagVersionSpec object)
Returns the result of interpreting the object as an instance of 'Tag Version Spec'.
|
T |
caseVersion(Version object)
Returns the result of interpreting the object as an instance of 'Version'.
|
T |
caseVersionProperty(VersionProperty object)
Returns the result of interpreting the object as an instance of 'Version Property'.
|
T |
caseVersionSpec(VersionSpec object)
Returns the result of interpreting the object as an instance of 'Version Spec'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that
result. |
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that
result.
caseXXX call.public T caseTagVersionSpec(TagVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseDateVersionSpec(DateVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T casePrimaryVersionSpec(PrimaryVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseVersionSpec(VersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseLogMessage(LogMessage object)
object - the target of the switch.doSwitch(EObject)public T caseChangePackage(ChangePackage object)
object - the target of the switch.doSwitch(EObject)public T caseHistoryInfo(HistoryInfo object)
object - the target of the switch.doSwitch(EObject)public T caseHistoryQuery(HistoryQuery object)
object - the target of the switch.doSwitch(EObject)public T caseRangeQuery(RangeQuery object)
object - the target of the switch.doSwitch(EObject)public T casePathQuery(PathQuery object)
object - the target of the switch.doSwitch(EObject)public T caseModelElementQuery(ModelElementQuery object)
object - the target of the switch.doSwitch(EObject)public T caseVersion(Version object)
object - the target of the switch.doSwitch(EObject)public T caseHeadVersionSpec(HeadVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseVersionProperty(VersionProperty object)
object - the target of the switch.doSwitch(EObject)public T caseBranchVersionSpec(BranchVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseBranchInfo(BranchInfo object)
object - the target of the switch.doSwitch(EObject)public T caseAncestorVersionSpec(AncestorVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T casePagedUpdateVersionSpec(PagedUpdateVersionSpec object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractChangePackage(AbstractChangePackage object)
object - the target of the switch.doSwitch(EObject)public T caseFileBasedChangePackage(FileBasedChangePackage object)
object - the target of the switch.doSwitch(EObject)public T caseOperationProxy(OperationProxy object)
object - the target of the switch.doSwitch(EObject)public T caseChangePackageEnvelope(ChangePackageEnvelope object)
object - the target of the switch.doSwitch(EObject)public T caseChangePackageProxy(ChangePackageProxy object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(org.eclipse.emf.ecore.EObject object)
object - the target of the switch.doSwitch(org.eclipse.emf.ecore.EObject)Copyright © 2017. All rights reserved.