public class FunctionsValidator extends EObjectValidator
FunctionsPackage
EObjectValidator.DynamicEClassValidator, EObjectValidator.DynamicEDataTypeValidator
EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate
Modifier and Type | Field and Description |
---|---|
static String |
DIAGNOSTIC_SOURCE
|
static FunctionsValidator |
INSTANCE
The cached model package
|
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
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
Constructor and Description |
---|
FunctionsValidator()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
ResourceLocator |
getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
|
boolean |
validateFunction_hasValidVariableDeclarations(Function function,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the hasValidVariableDeclarations constraint of 'Function'.
|
boolean |
validateFunction(Function function,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFunctionBodySpecification(FunctionBodySpecification functionBodySpecification,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFunctionCall(FunctionCall functionCall,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
getFeatureLabel, getObjectLabel, getValueLabel, validate_BidirectionalReferenceIsPaired, validate_EveryBidirectionalReferenceIsPaired, validate_EveryDataValueConforms, validate_EveryDefaultConstraint, validate_EveryKeyUnique, validate_EveryMapEntryUnique, validate_EveryMultiplicityConforms, validate_EveryProxyResolves, validate_EveryReferenceIsContained, validate_NoCircularContainment, validate_UniqueID, validate, validate, validate, validate, validate, validate
public static final FunctionsValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
Diagnostic.getSource()
,
Diagnostic.getCode()
,
Constant Field Valuespublic FunctionsValidator()
public boolean validateFunction(Function function, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunction_hasValidVariableDeclarations(Function function, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunctionBodySpecification(FunctionBodySpecification functionBodySpecification, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunctionCall(FunctionCall functionCall, DiagnosticChain diagnostics, Map<Object,Object> context)
public ResourceLocator getResourceLocator()
getResourceLocator
in class EObjectValidator