public class SecuritySwitch<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.
SecurityPackage
Modifier and Type | Field and Description |
---|---|
protected static SecurityPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
SecuritySwitch()
Creates an instance of the switch
|
Modifier and Type | Method and Description |
---|---|
T |
caseAndFilter(AndFilter object)
Returns the result of interpreting the object as an instance of 'And Filter'
|
T |
caseAssignee(Assignee object)
Returns the result of interpreting the object as an instance of 'Assignee'
|
T |
caseClassFilter(ClassFilter object)
Returns the result of interpreting the object as an instance of 'Class Filter'
|
T |
caseClassPermission(ClassPermission object)
Returns the result of interpreting the object as an instance of 'Class Permission'
|
T |
caseCombinedFilter(CombinedFilter object)
Returns the result of interpreting the object as an instance of 'Combined Filter'
|
T |
caseDirectory(Directory object)
Returns the result of interpreting the object as an instance of 'Directory'
|
T |
caseExpressionFilter(ExpressionFilter object)
Returns the result of interpreting the object as an instance of 'Expression Filter'
|
T |
caseFilterPermission(FilterPermission object)
Returns the result of interpreting the object as an instance of 'Filter Permission'
|
T |
caseGroup(Group object)
Returns the result of interpreting the object as an instance of 'Group'
|
T |
caseLinkedFilter(LinkedFilter object)
Returns the result of interpreting the object as an instance of 'Linked Filter'
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'
|
T |
caseNotFilter(NotFilter object)
Returns the result of interpreting the object as an instance of 'Not Filter'
|
T |
caseObjectFilter(ObjectFilter object)
Returns the result of interpreting the object as an instance of 'Object Filter'
|
T |
caseObjectPermission(ObjectPermission object)
Returns the result of interpreting the object as an instance of 'Object Permission'
|
T |
caseOrFilter(OrFilter object)
Returns the result of interpreting the object as an instance of 'Or Filter'
|
T |
casePackageFilter(PackageFilter object)
Returns the result of interpreting the object as an instance of 'Package Filter'
|
T |
casePackagePermission(PackagePermission object)
Returns the result of interpreting the object as an instance of 'Package Permission'
|
T |
casePermission(Permission object)
Returns the result of interpreting the object as an instance of 'Permission'
|
T |
casePermissionFilter(PermissionFilter object)
Returns the result of interpreting the object as an instance of 'Permission Filter'
|
T |
caseRealm(Realm object)
Returns the result of interpreting the object as an instance of 'Realm'
|
T |
caseResourceFilter(ResourceFilter object)
Returns the result of interpreting the object as an instance of 'Resource Filter'
|
T |
caseResourcePermission(ResourcePermission object)
Returns the result of interpreting the object as an instance of 'Resource Permission'
|
T |
caseRole(Role object)
Returns the result of interpreting the object as an instance of 'Role'
|
T |
caseSecurityElement(SecurityElement object)
Returns the result of interpreting the object as an instance of 'Element'
|
T |
caseSecurityItem(SecurityItem object)
Returns the result of interpreting the object as an instance of 'Item'
|
T |
caseUser(User object)
Returns the result of interpreting the object as an instance of 'User'
|
T |
caseUserPassword(UserPassword object)
Returns the result of interpreting the object as an instance of 'User Password'
|
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 SecurityPackage modelPackage
public SecuritySwitch()
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 caseSecurityElement(SecurityElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseRealm(Realm object)
object
- the target of the switch.doSwitch(EObject)
public T caseDirectory(Directory object)
object
- the target of the switch.doSwitch(EObject)
public T caseSecurityItem(SecurityItem object)
object
- the target of the switch.doSwitch(EObject)
public T caseRole(Role object)
object
- the target of the switch.doSwitch(EObject)
public T caseAssignee(Assignee object)
object
- the target of the switch.doSwitch(EObject)
public T caseGroup(Group object)
object
- the target of the switch.doSwitch(EObject)
public T caseUser(User object)
object
- the target of the switch.doSwitch(EObject)
public T caseUserPassword(UserPassword object)
object
- the target of the switch.doSwitch(EObject)
public T casePermission(Permission object)
object
- the target of the switch.doSwitch(EObject)
public T caseClassPermission(ClassPermission object)
object
- the target of the switch.doSwitch(EObject)
public T casePackagePermission(PackagePermission object)
object
- the target of the switch.doSwitch(EObject)
public T caseResourcePermission(ResourcePermission object)
object
- the target of the switch.doSwitch(EObject)
public T caseObjectPermission(ObjectPermission object)
object
- the target of the switch.doSwitch(EObject)
public T caseFilterPermission(FilterPermission object)
object
- the target of the switch.doSwitch(EObject)
public T casePermissionFilter(PermissionFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseLinkedFilter(LinkedFilter object)
object
- the target of the switch.doSwitch(EObject)
public T casePackageFilter(PackageFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseClassFilter(ClassFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseResourceFilter(ResourceFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseObjectFilter(ObjectFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpressionFilter(ExpressionFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseCombinedFilter(CombinedFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseNotFilter(NotFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseAndFilter(AndFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseOrFilter(OrFilter object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelElement(ModelElement 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 (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.