public class AllocationValidator extends EObjectValidator
AllocationPackageEObjectValidator.DynamicEClassValidator, EObjectValidator.DynamicEDataTypeValidatorEValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATION__COMMUNICATING_SERVERS_HAVE_TO_BE_CONNECTED_BY_LINKING_RESOURCE
The
code for constraint
'Communicating Servers Have To Be Connected By Linking Resource' of 'Allocation'. |
static int |
ALLOCATION__EACH_ASSEMBLY_CONTEXT_WITHIN_SYSTEM_HAS_TO_BE_ALLOCATED_EXACTLY_ONCE
The
code for constraint 'Each
Assembly Context Within System Has To Be Allocated Exactly Once' of 'Allocation'. |
static int |
ALLOCATION_CONTEXT__ONE_ASSEMBLY_CONTEXT_OR_ONE_EVENT_CHANNEL_SHOULD_BE_REFERRED
The
code for constraint 'One
Assembly Context Or One Event Channel Should Be Referred' of 'Context'. |
static String |
copyright |
static String |
DIAGNOSTIC_SOURCE
|
static AllocationValidator |
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_OBJECTMARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE| Constructor and Description |
|---|
AllocationValidator()
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 |
validateAllocation_CommunicatingServersHaveToBeConnectedByLinkingResource(Allocation allocation,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the CommunicatingServersHaveToBeConnectedByLinkingResource constraint of
'Allocation'.
|
boolean |
validateAllocation_EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce(Allocation allocation,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce constraint of
'Allocation'.
|
boolean |
validateAllocation(Allocation allocation,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateAllocationContext_OneAssemblyContextOrOneEventChannelShouldBeReferred(AllocationContext allocationContext,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the OneAssemblyContextOrOneEventChannelShouldBeReferred constraint of
'Context'.
|
boolean |
validateAllocationContext(AllocationContext allocationContext,
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, validatepublic static final String copyright
public static final AllocationValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
Diagnostic.getSource(),
Diagnostic.getCode(),
Constant Field Valuespublic static final int ALLOCATION_CONTEXT__ONE_ASSEMBLY_CONTEXT_OR_ONE_EVENT_CHANNEL_SHOULD_BE_REFERRED
code for constraint 'One
Assembly Context Or One Event Channel Should Be Referred' of 'Context'. public static final int ALLOCATION__EACH_ASSEMBLY_CONTEXT_WITHIN_SYSTEM_HAS_TO_BE_ALLOCATED_EXACTLY_ONCE
code for constraint 'Each
Assembly Context Within System Has To Be Allocated Exactly Once' of 'Allocation'. public static final int ALLOCATION__COMMUNICATING_SERVERS_HAVE_TO_BE_CONNECTED_BY_LINKING_RESOURCE
code for constraint
'Communicating Servers Have To Be Connected By Linking Resource' of 'Allocation'. public AllocationValidator()
public boolean validateAllocationContext(AllocationContext allocationContext, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateAllocationContext_OneAssemblyContextOrOneEventChannelShouldBeReferred(AllocationContext allocationContext, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateAllocation(Allocation allocation, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateAllocation_EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce(Allocation allocation, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateAllocation_CommunicatingServersHaveToBeConnectedByLinkingResource(Allocation allocation, DiagnosticChain diagnostics, Map<Object,Object> context)
public ResourceLocator getResourceLocator()
getResourceLocator in class EObjectValidator