public class ConfigurationValidator
extends org.eclipse.emf.ecore.util.EObjectValidator
ConfigurationPackage
org.eclipse.emf.ecore.util.EObjectValidator.DynamicEClassValidator, org.eclipse.emf.ecore.util.EObjectValidator.DynamicEDataTypeValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
Modifier and Type | Field and Description |
---|---|
static org.eclipse.emf.ecore.EValidator.PatternMatcher[][] |
CLASS_TYPE__PATTERN__VALUES |
static String |
copyright |
protected static 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 String |
DIAGNOSTIC_SOURCE
A constant for the
source of diagnostic codes from this package. |
static ConfigurationValidator |
INSTANCE
The cached model package
|
static org.eclipse.emf.ecore.EValidator.PatternMatcher[][] |
NAME_TYPE1__PATTERN__VALUES |
static int |
PERIOD_TYPE__MIN__VALUE |
static org.eclipse.emf.ecore.EValidator.PatternMatcher[][] |
TYPE_TYPE__PATTERN__VALUES |
protected org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator |
xmlTypeValidator
The cached base package validator.
|
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
Constructor and Description |
---|
ConfigurationValidator()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.EPackage |
getEPackage()
Returns the package of this validator switch.
|
org.eclipse.emf.common.util.ResourceLocator |
getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
|
protected boolean |
validate(int classifierID,
Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Calls
validateXXX for the corresponding classifier of the model. |
boolean |
validateClassType_Pattern(String classType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the Pattern constraint of 'Class Type'.
|
boolean |
validateClassType(String classType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateCommandType(CommandType commandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateContinuousCommandType(ContinuousCommandType continuousCommandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateCustomExtractorType(CustomExtractorType customExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateDocumentRoot(DocumentRoot documentRoot,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateEnvEntryType(EnvEntryType envEntryType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateExtractorType(ExtractorType extractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFieldExtractorType(FieldExtractorType fieldExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFieldType(FieldType fieldType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateHiveProcessCommandType(HiveProcessCommandType hiveProcessCommandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateNagiosReturnCodeExtractorType(NagiosReturnCodeExtractorType nagiosReturnCodeExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateNameType(String nameType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateNameType1_Pattern(String nameType1,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the Pattern constraint of 'Name Type1'.
|
boolean |
validateNameType1(String nameType1,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validatePeriodType_Min(int periodType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the Min constraint of 'Period Type'.
|
boolean |
validatePeriodType(int periodType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validatePeriodTypeObject(Integer periodTypeObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validatePlainStreamExtractorType(PlainStreamExtractorType plainStreamExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateProcessType(ProcessType processType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateQueueType(QueueType queueType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateRegExExtractorType(RegExExtractorType regExExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateRestartDelayType(int restartDelayType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateRestartDelayTypeObject(Integer restartDelayTypeObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateReturnCodeExtractorType(ReturnCodeExtractorType returnCodeExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateRootType(RootType rootType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSimpleExtractorType(SimpleExtractorType simpleExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSingleCommandType(SingleCommandType singleCommandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSplitContinuousCommandType(SplitContinuousCommandType splitContinuousCommandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSplitterExtractorType(SplitterExtractorType splitterExtractorType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSplitterType(SplitterType splitterType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateTriggerCommandType(TriggerCommandType triggerCommandType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateTypeType_Pattern(String typeType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the Pattern constraint of 'Type Type'.
|
boolean |
validateTypeType(String typeType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateVariantTypeType(VariantTypeType variantTypeType,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateVariantTypeTypeObject(VariantTypeType variantTypeTypeObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
createBadDataValueDiagnostic, createDiagnostic, 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_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, validate, validate, validate, validate, validate, validate, validatePattern, wrapEnumerationValues
public static final String copyright
public static final ConfigurationValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
source
of diagnostic codes
from this package.
Diagnostic.getSource()
,
Diagnostic.getCode()
,
Constant Field Valuesprotected static final int DIAGNOSTIC_CODE_COUNT
protected org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator xmlTypeValidator
public static final org.eclipse.emf.ecore.EValidator.PatternMatcher[][] CLASS_TYPE__PATTERN__VALUES
public static final org.eclipse.emf.ecore.EValidator.PatternMatcher[][] NAME_TYPE1__PATTERN__VALUES
public static final int PERIOD_TYPE__MIN__VALUE
public static final org.eclipse.emf.ecore.EValidator.PatternMatcher[][] TYPE_TYPE__PATTERN__VALUES
public ConfigurationValidator()
protected org.eclipse.emf.ecore.EPackage getEPackage()
getEPackage
in class org.eclipse.emf.ecore.util.EObjectValidator
protected boolean validate(int classifierID, Object value, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
validateXXX
for the corresponding classifier of the model.
validate
in class org.eclipse.emf.ecore.util.EObjectValidator
public boolean validateCommandType(CommandType commandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateContinuousCommandType(ContinuousCommandType continuousCommandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCustomExtractorType(CustomExtractorType customExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDocumentRoot(DocumentRoot documentRoot, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateEnvEntryType(EnvEntryType envEntryType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateExtractorType(ExtractorType extractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFieldExtractorType(FieldExtractorType fieldExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFieldType(FieldType fieldType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateHiveProcessCommandType(HiveProcessCommandType hiveProcessCommandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNagiosReturnCodeExtractorType(NagiosReturnCodeExtractorType nagiosReturnCodeExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePlainStreamExtractorType(PlainStreamExtractorType plainStreamExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateProcessType(ProcessType processType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateQueueType(QueueType queueType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateRegExExtractorType(RegExExtractorType regExExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateReturnCodeExtractorType(ReturnCodeExtractorType returnCodeExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateRootType(RootType rootType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSimpleExtractorType(SimpleExtractorType simpleExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSingleCommandType(SingleCommandType singleCommandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSplitContinuousCommandType(SplitContinuousCommandType splitContinuousCommandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSplitterExtractorType(SplitterExtractorType splitterExtractorType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSplitterType(SplitterType splitterType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTriggerCommandType(TriggerCommandType triggerCommandType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateVariantTypeType(VariantTypeType variantTypeType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateClassType(String classType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateClassType_Pattern(String classType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNameType(String nameType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNameType1(String nameType1, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNameType1_Pattern(String nameType1, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePeriodType(int periodType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePeriodType_Min(int periodType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePeriodTypeObject(Integer periodTypeObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateRestartDelayType(int restartDelayType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateRestartDelayTypeObject(Integer restartDelayTypeObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTypeType(String typeType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTypeType_Pattern(String typeType, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateVariantTypeTypeObject(VariantTypeType variantTypeTypeObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public org.eclipse.emf.common.util.ResourceLocator getResourceLocator()
getResourceLocator
in class org.eclipse.emf.ecore.util.EObjectValidator
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.