|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.util.EObjectValidator
org.eclipse.emf.ecp.view.dynamictree.model.util.ModelValidator
public class ModelValidator
The Validator for the model.
ModelPackage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EObjectValidator |
---|
org.eclipse.emf.ecore.util.EObjectValidator.DynamicEClassValidator, org.eclipse.emf.ecore.util.EObjectValidator.DynamicEDataTypeValidator |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator |
---|
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 |
Field Summary | |
---|---|
static String |
DIAGNOSTIC_SOURCE
A constant for the source of diagnostic codes from this package. |
static ModelValidator |
INSTANCE
The cached model package |
static int |
TEST_ELEMENT__VALIDATE
The code for constraint 'Validate' of 'Test Element'. |
Fields inherited from class org.eclipse.emf.ecore.util.EObjectValidator |
---|
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 |
Fields inherited from interface org.eclipse.emf.ecore.EValidator |
---|
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE |
Constructor Summary | |
---|---|
ModelValidator()
Creates an instance of the switch. |
Method Summary | |
---|---|
org.eclipse.emf.common.util.ResourceLocator |
getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics. |
boolean |
validateDomainIntermediate(DomainIntermediate domainIntermediate,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateDomainRoot(DomainRoot domainRoot,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateDynamicContainmentItem(DynamicContainmentItem dynamicContainmentItem,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateDynamicContainmentTree(DynamicContainmentTree dynamicContainmentTree,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateDynamicContainmentTreeDomainModelReference(DynamicContainmentTreeDomainModelReference dynamicContainmentTreeDomainModelReference,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateTestElement_validate(TestElement testElement,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the validate constraint of 'Test Element'. |
boolean |
validateTestElement(TestElement testElement,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validateTestElementContainer(TestElementContainer testElementContainer,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
|
Methods inherited from class org.eclipse.emf.ecore.util.EObjectValidator |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ModelValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
source
of diagnostic codes
from this package.
Diagnostic.getSource()
,
Diagnostic.getCode()
,
Constant Field Valuespublic static final int TEST_ELEMENT__VALIDATE
code
for constraint 'Validate' of 'Test Element'.
Constructor Detail |
---|
public ModelValidator()
Method Detail |
---|
public boolean validateDynamicContainmentTree(DynamicContainmentTree dynamicContainmentTree, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDynamicContainmentItem(DynamicContainmentItem dynamicContainmentItem, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTestElement(TestElement testElement, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTestElement_validate(TestElement testElement, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDomainRoot(DomainRoot domainRoot, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDomainIntermediate(DomainIntermediate domainIntermediate, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTestElementContainer(TestElementContainer testElementContainer, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDynamicContainmentTreeDomainModelReference(DynamicContainmentTreeDomainModelReference dynamicContainmentTreeDomainModelReference, 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |