public class PomSwitch<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. PomPackage
Modifier and Type | Field and Description |
---|---|
protected static PomPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
PomSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseActivation(Activation object)
Returns the result of interpreting the object as an instance of ' Activation'.
|
T |
caseActivationFile(ActivationFile object)
Returns the result of interpreting the object as an instance of ' Activation File'.
|
T |
caseActivationOS(ActivationOS object)
Returns the result of interpreting the object as an instance of ' Activation OS'.
|
T |
caseActivationProperty(ActivationProperty object)
Returns the result of interpreting the object as an instance of ' Activation Property'.
|
T |
caseBuild(Build object)
Returns the result of interpreting the object as an instance of ' Build'.
|
T |
caseBuildBase(BuildBase object)
Returns the result of interpreting the object as an instance of ' Build Base'.
|
T |
caseCiManagement(CiManagement object)
Returns the result of interpreting the object as an instance of ' Ci Management'.
|
T |
caseConfiguration(Configuration object)
Returns the result of interpreting the object as an instance of ' Configuration'.
|
T |
caseContributor(Contributor object)
Returns the result of interpreting the object as an instance of ' Contributor'.
|
T |
caseDependency(Dependency object)
Returns the result of interpreting the object as an instance of ' Dependency'.
|
T |
caseDependencyManagement(DependencyManagement object)
Returns the result of interpreting the object as an instance of ' Dependency Management'.
|
T |
caseDeploymentRepository(DeploymentRepository object)
Returns the result of interpreting the object as an instance of ' Deployment Repository'.
|
T |
caseDeveloper(Developer object)
Returns the result of interpreting the object as an instance of ' Developer'.
|
T |
caseDistributionManagement(DistributionManagement object)
Returns the result of interpreting the object as an instance of ' Distribution Management'.
|
T |
caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of ' Document Root'.
|
T |
caseExclusion(Exclusion object)
Returns the result of interpreting the object as an instance of ' Exclusion'.
|
T |
caseExtension(Extension object)
Returns the result of interpreting the object as an instance of ' Extension'.
|
T |
caseIssueManagement(IssueManagement object)
Returns the result of interpreting the object as an instance of ' Issue Management'.
|
T |
caseLicense(License object)
Returns the result of interpreting the object as an instance of ' License'.
|
T |
caseMailingList(MailingList object)
Returns the result of interpreting the object as an instance of ' Mailing List'.
|
T |
caseModel(Model object)
Returns the result of interpreting the object as an instance of ' Model'.
|
T |
caseNotifier(Notifier object)
Returns the result of interpreting the object as an instance of ' Notifier'.
|
T |
caseOrganization(Organization object)
Returns the result of interpreting the object as an instance of ' Organization'.
|
T |
caseParent(Parent object)
Returns the result of interpreting the object as an instance of ' Parent'.
|
T |
casePlugin(Plugin object)
Returns the result of interpreting the object as an instance of ' Plugin'.
|
T |
casePluginExecution(PluginExecution object)
Returns the result of interpreting the object as an instance of ' Plugin Execution'.
|
T |
casePluginManagement(PluginManagement object)
Returns the result of interpreting the object as an instance of ' Plugin Management'.
|
T |
casePrerequisites(Prerequisites object)
Returns the result of interpreting the object as an instance of ' Prerequisites'.
|
T |
caseProfile(Profile object)
Returns the result of interpreting the object as an instance of ' Profile'.
|
T |
casePropertyElement(PropertyElement object)
Returns the result of interpreting the object as an instance of ' Property Element'.
|
T |
caseRelocation(Relocation object)
Returns the result of interpreting the object as an instance of ' Relocation'.
|
T |
caseReporting(Reporting object)
Returns the result of interpreting the object as an instance of ' Reporting'.
|
T |
caseReportPlugin(ReportPlugin object)
Returns the result of interpreting the object as an instance of ' Report Plugin'.
|
T |
caseReportSet(ReportSet object)
Returns the result of interpreting the object as an instance of ' Report Set'.
|
T |
caseRepository(Repository object)
Returns the result of interpreting the object as an instance of ' Repository'.
|
T |
caseRepositoryPolicy(RepositoryPolicy object)
Returns the result of interpreting the object as an instance of ' Repository Policy'.
|
T |
caseResource(Resource object)
Returns the result of interpreting the object as an instance of ' Resource'.
|
T |
caseScm(Scm object)
Returns the result of interpreting the object as an instance of ' Scm'.
|
T |
caseSite(Site object)
Returns the result of interpreting the object as an instance of ' Site'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of ' EObject'.
|
protected T |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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. |
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. |
protected T |
doSwitch(int classifierID,
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. |
protected static PomPackage modelPackage
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.protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass, 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.protected T doSwitch(int classifierID, 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 caseActivation(Activation object)
object
- the target of the switch.doSwitch(EObject)
public T caseActivationFile(ActivationFile object)
object
- the target of the switch.doSwitch(EObject)
public T caseActivationOS(ActivationOS object)
object
- the target of the switch.doSwitch(EObject)
public T caseActivationProperty(ActivationProperty object)
object
- the target of the switch.doSwitch(EObject)
public T caseBuild(Build object)
object
- the target of the switch.doSwitch(EObject)
public T caseBuildBase(BuildBase object)
object
- the target of the switch.doSwitch(EObject)
public T caseCiManagement(CiManagement object)
object
- the target of the switch.doSwitch(EObject)
public T caseContributor(Contributor object)
object
- the target of the switch.doSwitch(EObject)
public T caseDependency(Dependency object)
object
- the target of the switch.doSwitch(EObject)
public T caseDependencyManagement(DependencyManagement object)
object
- the target of the switch.doSwitch(EObject)
public T caseDeploymentRepository(DeploymentRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseDeveloper(Developer object)
object
- the target of the switch.doSwitch(EObject)
public T caseDistributionManagement(DistributionManagement object)
object
- the target of the switch.doSwitch(EObject)
public T caseDocumentRoot(DocumentRoot object)
object
- the target of the switch.doSwitch(EObject)
public T caseExclusion(Exclusion object)
object
- the target of the switch.doSwitch(EObject)
public T caseExtension(Extension object)
object
- the target of the switch.doSwitch(EObject)
public T caseIssueManagement(IssueManagement object)
object
- the target of the switch.doSwitch(EObject)
public T caseLicense(License object)
object
- the target of the switch.doSwitch(EObject)
public T caseMailingList(MailingList object)
object
- the target of the switch.doSwitch(EObject)
public T caseModel(Model object)
object
- the target of the switch.doSwitch(EObject)
public T caseNotifier(Notifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseOrganization(Organization object)
object
- the target of the switch.doSwitch(EObject)
public T caseParent(Parent object)
object
- the target of the switch.doSwitch(EObject)
public T casePlugin(Plugin object)
object
- the target of the switch.doSwitch(EObject)
public T casePluginExecution(PluginExecution object)
object
- the target of the switch.doSwitch(EObject)
public T casePluginManagement(PluginManagement object)
object
- the target of the switch.doSwitch(EObject)
public T casePrerequisites(Prerequisites object)
object
- the target of the switch.doSwitch(EObject)
public T caseProfile(Profile object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelocation(Relocation object)
object
- the target of the switch.doSwitch(EObject)
public T caseReporting(Reporting object)
object
- the target of the switch.doSwitch(EObject)
public T caseReportPlugin(ReportPlugin object)
object
- the target of the switch.doSwitch(EObject)
public T caseReportSet(ReportSet object)
object
- the target of the switch.doSwitch(EObject)
public T caseRepository(Repository object)
object
- the target of the switch.doSwitch(EObject)
public T caseRepositoryPolicy(RepositoryPolicy object)
object
- the target of the switch.doSwitch(EObject)
public T caseResource(Resource object)
object
- the target of the switch.doSwitch(EObject)
public T caseScm(Scm object)
object
- the target of the switch.doSwitch(EObject)
public T caseSite(Site object)
object
- the target of the switch.doSwitch(EObject)
public T casePropertyElement(PropertyElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseConfiguration(Configuration 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 © 2005–2015 Sonatype, Inc.. All rights reserved.