|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.model.versioning.util.VersioningSwitch<T>
public class VersioningSwitch<T>
The Switch for the model's inheritance
hierarchy. It supports the call 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 Summary | |
---|---|
VersioningSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
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 |
caseDateVersionSpec(DateVersionSpec object)
Returns the result of interpreting the object as an instance of ' Date Version Spec'. |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersioningSwitch()
Method Detail |
---|
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 defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |