COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.core
Interface ISMLValidator

All Superinterfaces:
IValidator
All Known Implementing Classes:
AbstractSMLValidator, AcyclicValidator, IdentityConstraintValidator, SchematronValidator, SchemaValidator, TargetValidator

public interface ISMLValidator
extends IValidator

The implementation of this interface will provide the scheme to validate the SML extensions that the standards adds for reference and identitify constraints. Clients are encouraged to extend AbstractSMLValidator instead of providing an implementation for this interface.

See Also:
AbstractSMLValidator

Field Summary
static java.lang.String SCOPE_ACYCLIC
          The acyclic scope
static java.lang.String[] SCOPE_GRP_ALL
          Groups all extensions into one group
static java.lang.String[] SCOPE_GRP_ID_CONSTRAINTS
          Groups the identity constraints
static java.lang.String[] SCOPE_GRP_REF_CONSTRAINTS
          Groups the reference constraints
static java.lang.String SCOPE_KEY
          The key scope
static java.lang.String SCOPE_KEY_REF
          The keyref scope
static java.lang.String SCOPE_TARGET_ELEMENT
          The target element scope
static java.lang.String SCOPE_TARGET_TYPE
          The target type scope
static java.lang.String SCOPE_UNIQUE
          The unique scope
 
Fields inherited from interface org.eclipse.cosmos.rm.validation.internal.core.IValidator
ATTRIBUTE_ENV, ATTRIBUTE_FAST_FAIL_POLICY, ATTRIBUTE_FILE_OUTPUT, ATTRIBUTE_INPUT_TYPE, ATTRIBUTE_INSTANCE, ATTRIBUTE_OUTPUT, ATTRIBUTE_SCHEMATRON_SCHEMA, ATTRIBUTE_SML_IF_SCHEMA, ATTRIBUTE_STRUCTURED_OUTPUT, ATTRIBUTE_VALIDATION_SCHEMATRON, ATTRIBUTE_VALIDATION_SML, ATTRIBUTE_VALIDATION_XML, VALUE_ENV_ECLIPSE, VALUE_ENV_STANDALONE, VALUE_SML_IF, VALUE_SML_UNIT
 
Method Summary
 java.lang.String[] getScope()
          Retrieve the scope of the validation.
 void setScope(java.lang.String[] scope)
          Set the scope for this validation.
 
Methods inherited from interface org.eclipse.cosmos.rm.validation.internal.core.IValidator
addValidationListener, initialize, validate
 

Field Detail

SCOPE_ACYCLIC

static final java.lang.String SCOPE_ACYCLIC
The acyclic scope

See Also:
Constant Field Values

SCOPE_TARGET_ELEMENT

static final java.lang.String SCOPE_TARGET_ELEMENT
The target element scope

See Also:
Constant Field Values

SCOPE_TARGET_TYPE

static final java.lang.String SCOPE_TARGET_TYPE
The target type scope

See Also:
Constant Field Values

SCOPE_KEY

static final java.lang.String SCOPE_KEY
The key scope

See Also:
Constant Field Values

SCOPE_UNIQUE

static final java.lang.String SCOPE_UNIQUE
The unique scope

See Also:
Constant Field Values

SCOPE_KEY_REF

static final java.lang.String SCOPE_KEY_REF
The keyref scope

See Also:
Constant Field Values

SCOPE_GRP_ALL

static final java.lang.String[] SCOPE_GRP_ALL
Groups all extensions into one group


SCOPE_GRP_REF_CONSTRAINTS

static final java.lang.String[] SCOPE_GRP_REF_CONSTRAINTS
Groups the reference constraints


SCOPE_GRP_ID_CONSTRAINTS

static final java.lang.String[] SCOPE_GRP_ID_CONSTRAINTS
Groups the identity constraints

Method Detail

getScope

java.lang.String[] getScope()
Retrieve the scope of the validation. See the SCOPE_* constants defined.

Returns:
The scope of the validation class

setScope

void setScope(java.lang.String[] scope)
Set the scope for this validation. See the SCOPE_* constants defined.

Parameters:
scope - The scope of the validation

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification