Klasse SecuritySwitch<T>
java.lang.Object
org.eclipse.emf.cdo.security.util.SecuritySwitch<T>
- Bekannte direkte Unterklassen:
LMSecurityItemProviderAdapterFactory.SecurityChildCreationExtender.CreationSwitch
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.
- Siehe auch:
- Generated
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcaseAndFilter
(AndFilter object) Returns the result of interpreting the object as an instance of 'And Filter'.caseAssignee
(Assignee object) Returns the result of interpreting the object as an instance of 'Assignee'.caseClassFilter
(ClassFilter object) Returns the result of interpreting the object as an instance of 'Class Filter'.caseClassPermission
(ClassPermission object) Returns the result of interpreting the object as an instance of 'Class Permission'.caseCombinedFilter
(CombinedFilter object) Returns the result of interpreting the object as an instance of 'Combined Filter'.caseDirectory
(Directory object) Returns the result of interpreting the object as an instance of 'Directory'.caseExpressionFilter
(ExpressionFilter object) Returns the result of interpreting the object as an instance of 'Expression Filter'.caseFilterPermission
(FilterPermission object) Returns the result of interpreting the object as an instance of 'Filter Permission'.Returns the result of interpreting the object as an instance of 'Group'.caseLinkedFilter
(LinkedFilter object) Returns the result of interpreting the object as an instance of 'Linked Filter'.caseModelElement
(ModelElement object) Returns the result of interpreting the object as an instance of 'Model Element'.caseNotFilter
(NotFilter object) Returns the result of interpreting the object as an instance of 'Not Filter'.caseObjectFilter
(ObjectFilter object) Returns the result of interpreting the object as an instance of 'Object Filter'.caseObjectPermission
(ObjectPermission object) Returns the result of interpreting the object as an instance of 'Object Permission'.caseOrFilter
(OrFilter object) Returns the result of interpreting the object as an instance of 'Or Filter'.casePackageFilter
(PackageFilter object) Returns the result of interpreting the object as an instance of 'Package Filter'.Returns the result of interpreting the object as an instance of 'Package Permission'.casePermission
(Permission object) Returns the result of interpreting the object as an instance of 'Permission'.casePermissionFilter
(PermissionFilter object) Returns the result of interpreting the object as an instance of 'Permission Filter'.Returns the result of interpreting the object as an instance of 'Realm'.caseResourceFilter
(ResourceFilter object) Returns the result of interpreting the object as an instance of 'Resource Filter'.Returns the result of interpreting the object as an instance of 'Resource Permission'.Returns the result of interpreting the object as an instance of 'Role'.caseSecurityElement
(SecurityElement object) Returns the result of interpreting the object as an instance of 'Element'.caseSecurityItem
(SecurityItem object) Returns the result of interpreting the object as an instance of 'Item'.Returns the result of interpreting the object as an instance of 'User'.caseUserPassword
(UserPassword object) Returns the result of interpreting the object as an instance of 'User Password'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
Felddetails
-
modelPackage
The cached model package- Generated
-
-
Konstruktordetails
-
SecuritySwitch
public SecuritySwitch()Creates an instance of the switch.- Generated
-
-
Methodendetails
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Gibt zurück:
- the first non-null result returned by a
caseXXX
call. - Generated
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Gibt zurück:
- the first non-null result returned by a
caseXXX
call. - Generated
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Gibt zurück:
- the first non-null result returned by a
caseXXX
call. - Generated
-
caseSecurityElement
Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Element'.
- Siehe auch:
- Generated
-
caseRealm
Returns the result of interpreting the object as an instance of 'Realm'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Realm'.
- Siehe auch:
- Generated
-
caseDirectory
Returns the result of interpreting the object as an instance of 'Directory'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Directory'.
- Siehe auch:
- Generated
-
caseSecurityItem
Returns the result of interpreting the object as an instance of 'Item'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Item'.
- Siehe auch:
- Generated
-
caseRole
Returns the result of interpreting the object as an instance of 'Role'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Role'.
- Siehe auch:
- Generated
-
caseAssignee
Returns the result of interpreting the object as an instance of 'Assignee'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Assignee'.
- Siehe auch:
- Generated
-
caseGroup
Returns the result of interpreting the object as an instance of 'Group'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Group'.
- Siehe auch:
- Generated
-
caseUser
Returns the result of interpreting the object as an instance of 'User'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'User'.
- Siehe auch:
- Generated
-
caseUserPassword
Returns the result of interpreting the object as an instance of 'User Password'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'User Password'.
- Siehe auch:
- Generated
-
casePermission
Returns the result of interpreting the object as an instance of 'Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Permission'.
- Siehe auch:
- Generated
-
caseClassPermission
Returns the result of interpreting the object as an instance of 'Class Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Class Permission'.
- Siehe auch:
- Generated
-
casePackagePermission
Returns the result of interpreting the object as an instance of 'Package Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Package Permission'.
- Siehe auch:
- Generated
-
caseResourcePermission
Returns the result of interpreting the object as an instance of 'Resource Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Resource Permission'.
- Siehe auch:
- Generated
-
caseObjectPermission
Returns the result of interpreting the object as an instance of 'Object Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Object Permission'.
- Seit:
- 4.2
- Siehe auch:
- Generated
-
caseFilterPermission
Returns the result of interpreting the object as an instance of 'Filter Permission'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Filter Permission'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
casePermissionFilter
Returns the result of interpreting the object as an instance of 'Permission Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Permission Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseLinkedFilter
Returns the result of interpreting the object as an instance of 'Linked Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Linked Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
casePackageFilter
Returns the result of interpreting the object as an instance of 'Package Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Package Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseClassFilter
Returns the result of interpreting the object as an instance of 'Class Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Class Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseResourceFilter
Returns the result of interpreting the object as an instance of 'Resource Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Resource Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseObjectFilter
Returns the result of interpreting the object as an instance of 'Object Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Object Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseExpressionFilter
Returns the result of interpreting the object as an instance of 'Expression Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Expression Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseCombinedFilter
Returns the result of interpreting the object as an instance of 'Combined Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Combined Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseNotFilter
Returns the result of interpreting the object as an instance of 'Not Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Not Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseAndFilter
Returns the result of interpreting the object as an instance of 'And Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'And Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseOrFilter
Returns the result of interpreting the object as an instance of 'Or Filter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Or Filter'.
- Seit:
- 4.3
- Siehe auch:
- Generated
-
caseModelElement
Returns the result of interpreting the object as an instance of 'Model Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'Model Element'.
- Siehe auch:
- Generated
-
defaultCase
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.- Parameter:
object
- the target of the switch.- Gibt zurück:
- the result of interpreting the object as an instance of 'EObject'.
- Siehe auch:
- Generated
-