public class Function_blocksValidator extends EObjectValidator
Function_blocksPackage
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 Function_blocksValidator |
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 |
---|
Function_blocksValidator()
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 |
validateFunctionBlockBodySpecification(FunctionBlockBodySpecification functionBlockBodySpecification,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFunctionBlockInvocation(FunctionBlockInvocation functionBlockInvocation,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateFunctionBlockType_hasValidVariableDeclarations(FunctionBlockType functionBlockType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the hasValidVariableDeclarations constraint of 'Function Block Type'.
|
boolean |
validateFunctionBlockType(FunctionBlockType functionBlockType,
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 Function_blocksValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
Diagnostic.getSource()
,
Diagnostic.getCode()
,
Constant Field Valuespublic Function_blocksValidator()
public boolean validateFunctionBlockBodySpecification(FunctionBlockBodySpecification functionBlockBodySpecification, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunctionBlockInvocation(FunctionBlockInvocation functionBlockInvocation, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunctionBlockType(FunctionBlockType functionBlockType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFunctionBlockType_hasValidVariableDeclarations(FunctionBlockType functionBlockType, DiagnosticChain diagnostics, Map<Object,Object> context)
public ResourceLocator getResourceLocator()
getResourceLocator
in class EObjectValidator