|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WsmlValidator
Extends the interface of wsmo-api with necessary properties needed during implementation (might be merged with wsmo-api later).
Checks only for standard datatypes.
Created on Aug 18, 2005 Committed by $Author: morcen $ $Source$,
Validator
Field Summary | |
---|---|
static String |
VALIDATE_IMPORTS
|
Method Summary | |
---|---|
String |
determineVariant(LogicalExpression logExpr,
List<ValidationError> errorMessages,
List<ValidationWarning> warningMessages)
Determines the Variant of a logical expression |
String |
determineVariant(TopEntity te,
List<ValidationError> errorMessages,
List<ValidationWarning> warningMessages)
Determines the Variant of a topEntity |
boolean |
isValid(LogicalExpression logExpr,
String variant,
List<ValidationError> errorMessages,
List<ValidationWarning> warningMessages)
Checks whether a logical expression is valid. |
boolean |
isValid(TopEntity te,
String variant,
List<ValidationError> errorMessages,
List<ValidationWarning> warningMessages)
Checks whether a WSMO element definition is valid. |
Methods inherited from interface org.wsmo.validator.Validator |
---|
isValid |
Field Detail |
---|
static final String VALIDATE_IMPORTS
Method Detail |
---|
boolean isValid(TopEntity te, String variant, List<ValidationError> errorMessages, List<ValidationWarning> warningMessages)
te
- the TopEntity to be validated (ontology, mediator, goal,...)variant
- the Variant for which should be checkederrorMessages
- a collection where the validation specific error messages will
be added (if any)warningMessages
- a collection where the validation specific warning messages will
be added (if any)
Ontology
boolean isValid(LogicalExpression logExpr, String variant, List<ValidationError> errorMessages, List<ValidationWarning> warningMessages)
logExpr
- the logical expression to be validatedvariant
- the Variant for which should be checkederrorMessages
- a collection where the validation specific error messages will
be added (if any)warningMessages
- a collection where the validation specific warning messages will
be added (if any)
LogicalExpression
String determineVariant(TopEntity te, List<ValidationError> errorMessages, List<ValidationWarning> warningMessages)
te
- topEntity to be checked.errorMessages
- a collection where the validation specific error messages will
be added (if any)warningMessages
- a collection where the validation specific warning messages will
be added (if any)
String determineVariant(LogicalExpression logExpr, List<ValidationError> errorMessages, List<ValidationWarning> warningMessages)
logExpr
- logical expression to be checked.errorMessages
- a collection where the validation specific error messages will
be added (if any)warningMessages
- a collection where the validation specific warning messages will
be added (if any)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |