Package org.eclipse.emf.cdo.security.util

# Klasse SecurityValidator

java.lang.Object
org.eclipse.emf.ecore.util.EObjectValidator
org.eclipse.emf.cdo.security.util.SecurityValidator

Alle implementierten Schnittstellen:
  `EValidator`

public class SecurityValidator extends EObjectValidator
The Validator for the model.

Seit:
  4.3
Siehe auch:
  - `SecurityPackage`
Generated

## Verschachtelte Klassen - Übersicht

## Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.ecore.util.EObjectValidator

`EObjectValidator.DynamicEClassValidator, EObjectValidator.DynamicEDataTypeValidator`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.ecore.EValidator

`EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`protected static final int`
`DIAGNOSTIC_CODE_COUNT`
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
`static final String`
`DIAGNOSTIC_SOURCE`
A constant for the `source` of diagnostic `codes` from this package.
`static final SecurityValidator`
`INSTANCE`
The cached model package

### Von Klasse geerbte Felder org.eclipse.emf.ecore.util.EObjectValidator

`DATA_VALUE__FRACTION_DIGITS_IN_RANGE, DATA_VALUE__LENGTH_IN_RANGE, DATA_VALUE__MATCHES_PATTERN, DATA_VALUE__TOTAL_DIGITS_IN_RANGE, DATA_VALUE__TYPE_CORRECT, DATA_VALUE__VALUE_IN_ENUMERATION, DATA_VALUE__VALUE_IN_RANGE, EOBJECT__EVERY_BIDIRECTIONAL_REFERENCE_IS_PAIRED, EOBJECT__EVERY_DATA_VALUE_CONFORMS, EOBJECT__EVERY_KEY_UNIQUE, EOBJECT__EVERY_MAP_ENTRY_UNIQUE, EOBJECT__EVERY_MULTIPCITY_CONFORMS, EOBJECT__EVERY_PROXY_RESOLVES, EOBJECT__EVERY_REFERENCE_IS_CONTAINED, EOBJECT__NO_CIRCULAR_CONTAINMENT, EOBJECT__UNIQUE_ID, ROOT_OBJECT`

### Von Schnittstelle geerbte Felder org.eclipse.emf.ecore.EValidator

`MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`SecurityValidator()`
Creates an instance of the switch.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected <T> T`
`getContextByClassKey(Map<Object,Object> context, Class<T> key, T defaultValue)`
`protected EPackage`
`getEPackage()`
Returns the package of this validator switch.
`ResourceLocator`
`getResourceLocator()`
Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
`protected CDORevisionProvider`
`getRevisionProvider(Realm realm, Map<Object,Object> context)`
`protected CDOBranchPoint`
`getSecurityContext(Realm realm, Map<Object,Object> context)`
`protected boolean`
`validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object,Object> context)`
Calls `validateXXX` for the corresponding classifier of the model.
`boolean`
`validateAccess(Access access, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateAccessObject(Access accessObject, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateAndFilter(AndFilter andFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateAssignee(Assignee assignee, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateClassFilter(ClassFilter classFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateClassPermission(ClassPermission classPermission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateCombinedFilter(CombinedFilter combinedFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateDirectory(Directory directory, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateExpressionFilter(ExpressionFilter expressionFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateFilterPermission(FilterPermission filterPermission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateGroup(Group group, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateGroup_AcyclicInheritance(Group group, DiagnosticChain diagnostics, Map<Object,Object> context)`
Validates the AcyclicInheritance constraint of 'Group'.
`boolean`
`validateLinkedFilter(LinkedFilter linkedFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateNotFilter(NotFilter notFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateObjectFilter(ObjectFilter objectFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateObjectPermission(ObjectPermission objectPermission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateOrFilter(OrFilter orFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validatePackageFilter(PackageFilter packageFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validatePackagePermission(PackagePermission packagePermission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validatePatternStyle(PatternStyle patternStyle, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validatePermission(Permission permission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validatePermissionFilter(PermissionFilter permissionFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateRealm(Realm realm, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateRealm_HasAdministrator(Realm realm, DiagnosticChain diagnostics, Map<Object,Object> context)`
Validates the HasAdministrator constraint of 'Realm'.
`boolean`
`validateResourceFilter(ResourceFilter resourceFilter, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateResourcePermission(ResourcePermission resourcePermission, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateRole(Role role, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateSecurityElement(SecurityElement securityElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateSecurityItem(SecurityItem securityItem, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateUser(User user, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
`validateUserPassword(UserPassword userPassword, DiagnosticChain diagnostics, Map<Object,Object> context)`
No user, not even the Administrator, is permitted to read the properties of a `UserPassword`, so this validation is a no-op.
`boolean`
`validateUserPasswordGen(UserPassword userPassword, DiagnosticChain diagnostics, Map<Object,Object> context)`

### Von Klasse geerbte Methoden org.eclipse.emf.ecore.util.EObjectValidator

`createBadDataValueDiagnostic, createDiagnostic, getAvailableChoices, getEcoreResourceLocator, getEcoreString, getFeatureLabel, getObjectLabel, getRootEValidator, getString, getValidationDelegateRegistry, getValueLabel, isEcoreString, reportConstraintDelegateException, reportConstraintDelegateException, reportConstraintDelegateNotFound, reportConstraintDelegateNotFound, reportConstraintDelegateViolation, reportConstraintDelegateViolation, reportDataValuePatternViolation, reportDataValueTypeViolation, reportEnumerationViolation, reportFractionDigitsViolation, reportInvariantDelegateException, reportInvariantDelegateNotFound, reportInvariantDelegateViolation, reportMaxLengthViolation, reportMaxViolation, reportMinLengthViolation, reportMinViolation, reportTotalDigitsViolation, validate, validate, validate, validate, validate, validate, validate_BidirectionalReferenceIsPaired, validate_DataValueConforms, validate_EveryBidirectionalReferenceIsPaired, validate_EveryDataValueConforms, validate_EveryDefaultConstraint, validate_EveryKeyUnique, validate_EveryMapEntryUnique, validate_EveryMultiplicityConforms, validate_EveryProxyResolves, validate_EveryReferenceIsContained, validate_KeyUnique, validate_MapEntryUnique, validate_MultiplicityConforms, validate_NoCircularContainment, validate_UniqueID, validatePattern, wrapEnumerationValues`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Felddetails

### INSTANCE

public static final SecurityValidator INSTANCE
The cached model package

Generated

### DIAGNOSTIC_SOURCE

public static final String DIAGNOSTIC_SOURCE
A constant for the `source` of diagnostic `codes` from this package.

Siehe auch:
  - `Diagnostic.getSource()`
  - `Diagnostic.getCode()`
  - Konstantenfeldwerte
Generated

### DIAGNOSTIC_CODE_COUNT

protected static final int DIAGNOSTIC_CODE_COUNT
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.

Siehe auch:
  - Konstantenfeldwerte
Generated

## Konstruktordetails

### SecurityValidator

public SecurityValidator()
Creates an instance of the switch.

Generated

## Methodendetails

### getEPackage

protected EPackage getEPackage()
Returns the package of this validator switch.

Setzt außer Kraft:
  `getEPackage` in Klasse `EObjectValidator`
Generated

### validate

protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object,Object> context)
Calls `validateXXX` for the corresponding classifier of the model.

Setzt außer Kraft:
  `validate` in Klasse `EObjectValidator`
Generated

### validateSecurityElement

public boolean validateSecurityElement(SecurityElement securityElement, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateSecurityItem

public boolean validateSecurityItem(SecurityItem securityItem, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateRealm

public boolean validateRealm(Realm realm, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateRealm_HasAdministrator

public boolean validateRealm_HasAdministrator(Realm realm, DiagnosticChain diagnostics, Map<Object,Object> context)
Validates the HasAdministrator constraint of 'Realm'.

Generated
  NOT

### getContextByClassKey

protected <T> T getContextByClassKey(Map<Object,Object> context, Class<T> key, T defaultValue)

### getRevisionProvider

protected CDORevisionProvider getRevisionProvider(Realm realm, Map<Object,Object> context)

### getSecurityContext

protected CDOBranchPoint getSecurityContext(Realm realm, Map<Object,Object> context)

### validateDirectory

public boolean validateDirectory(Directory directory, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateRole

public boolean validateRole(Role role, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateAssignee

public boolean validateAssignee(Assignee assignee, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateGroup

public boolean validateGroup(Group group, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateGroup_AcyclicInheritance

public boolean validateGroup_AcyclicInheritance(Group group, DiagnosticChain diagnostics, Map<Object,Object> context)
Validates the AcyclicInheritance constraint of 'Group'.

Generated
  NOT

### validateUser

public boolean validateUser(User user, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateUserPasswordGen

public boolean validateUserPasswordGen(UserPassword userPassword, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateUserPassword

public boolean validateUserPassword(UserPassword userPassword, DiagnosticChain diagnostics, Map<Object,Object> context)
No user, not even the Administrator, is permitted to read the properties of a `UserPassword`, so this validation is a no-op.

### validatePermission

public boolean validatePermission(Permission permission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateClassPermission

public boolean validateClassPermission(ClassPermission classPermission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validatePackagePermission

public boolean validatePackagePermission(PackagePermission packagePermission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateResourcePermission

public boolean validateResourcePermission(ResourcePermission resourcePermission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateObjectPermission

public boolean validateObjectPermission(ObjectPermission objectPermission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateFilterPermission

public boolean validateFilterPermission(FilterPermission filterPermission, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validatePermissionFilter

public boolean validatePermissionFilter(PermissionFilter permissionFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateLinkedFilter

public boolean validateLinkedFilter(LinkedFilter linkedFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validatePackageFilter

public boolean validatePackageFilter(PackageFilter packageFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateClassFilter

public boolean validateClassFilter(ClassFilter classFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateResourceFilter

public boolean validateResourceFilter(ResourceFilter resourceFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateObjectFilter

public boolean validateObjectFilter(ObjectFilter objectFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateExpressionFilter

public boolean validateExpressionFilter(ExpressionFilter expressionFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateCombinedFilter

public boolean validateCombinedFilter(CombinedFilter combinedFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateNotFilter

public boolean validateNotFilter(NotFilter notFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateAndFilter

public boolean validateAndFilter(AndFilter andFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateOrFilter

public boolean validateOrFilter(OrFilter orFilter, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validatePatternStyle

public boolean validatePatternStyle(PatternStyle patternStyle, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateAccess

public boolean validateAccess(Access access, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### validateAccessObject

public boolean validateAccessObject(Access accessObject, DiagnosticChain diagnostics, Map<Object,Object> context)

Generated

### getResourceLocator

public ResourceLocator getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics.

Setzt außer Kraft:
  `getResourceLocator` in Klasse `EObjectValidator`
Generated
  NOT