|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.util.EObjectValidator org.eclipse.ocl.uml.util.UMLValidator
public class UMLValidator
The Validator for the model.
UMLPackage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EObjectValidator |
---|
EObjectValidator.DynamicEDataTypeValidator |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator |
---|
EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider |
Field Summary | |
---|---|
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 |
protected ExpressionsValidator |
expressionsValidator
The cached base package validator |
static UMLValidator |
INSTANCE
The cached model package |
protected TypesValidator |
typesValidator
The cached base package validator |
protected UMLValidator |
umlValidator
The cached base package validator |
Fields inherited from interface org.eclipse.emf.ecore.EValidator |
---|
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE |
Constructor Summary | |
---|---|
UMLValidator()
Creates an instance of the switch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UMLValidator 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 UMLValidator umlValidator
protected TypesValidator typesValidator
protected ExpressionsValidator expressionsValidator
Constructor Detail |
---|
public UMLValidator()
Method Detail |
---|
protected EPackage getEPackage()
getEPackage
in class EObjectValidator
protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object,Object> context)
validateXXX
for the corresponding classifier of the model.
validate
in class EObjectValidator
public boolean validateAnyType(AnyType anyType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateVoidType(VoidType voidType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateInvalidType(InvalidType invalidType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateElementType(ElementType elementType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTypeType(TypeType typeType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateMessageType(MessageType messageType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePrimitiveType(PrimitiveType primitiveType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCollectionType(CollectionType collectionType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTupleType(TupleType tupleType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateBagType(BagType bagType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSetType(SetType setType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateOrderedSetType(OrderedSetType orderedSetType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateSequenceType(SequenceType sequenceType, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateExpressionInOCL(ExpressionInOCL expressionInOCL, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateAssociationClassCallExp(AssociationClassCallExp associationClassCallExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNavigationCallExp(NavigationCallExp navigationCallExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateFeatureCallExp(FeatureCallExp featureCallExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCallExp(CallExp callExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateOCLExpression(OCLExpression oclExpression, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateOCLExpression_has_type(OCLExpression oclExpression, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateBooleanLiteralExp(BooleanLiteralExp booleanLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePrimitiveLiteralExp(PrimitiveLiteralExp primitiveLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateLiteralExp(LiteralExp literalExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCollectionItem(CollectionItem collectionItem, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCollectionLiteralPart(CollectionLiteralPart collectionLiteralPart, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCollectionLiteralExp(CollectionLiteralExp collectionLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateCollectionRange(CollectionRange collectionRange, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateEnumLiteralExp(EnumLiteralExp enumLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateIfExp(IfExp ifExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateIntegerLiteralExp(IntegerLiteralExp integerLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNumericLiteralExp(NumericLiteralExp numericLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateUnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp unlimitedNaturalLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateInvalidLiteralExp(InvalidLiteralExp invalidLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateIterateExp(IterateExp iterateExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateLoopExp(LoopExp loopExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateIteratorExp(IteratorExp iteratorExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateLetExp(LetExp letExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateMessageExp(MessageExp messageExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateNullLiteralExp(NullLiteralExp nullLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateOperationCallExp(OperationCallExp operationCallExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePropertyCallExp(PropertyCallExp propertyCallExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateRealLiteralExp(RealLiteralExp realLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateStateExp(StateExp stateExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateStringLiteralExp(StringLiteralExp stringLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTupleLiteralExp(TupleLiteralExp tupleLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTupleLiteralPart(TupleLiteralPart tupleLiteralPart, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateTypeExp(TypeExp typeExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateUnspecifiedValueExp(UnspecifiedValueExp unspecifiedValueExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateVariable(Variable variable, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateVariableExp(VariableExp variableExp, DiagnosticChain diagnostics, Map<Object,Object> context)
public ResourceLocator getResourceLocator()
getResourceLocator
in class EObjectValidator
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |