|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParameterizedConstraintDescriptor
A specialization of the IConstraintDescriptor
interface that
additionally supplies parameters as (name, value) pairs of strings. The
parameters available are determined by the constraint parser for the
constraint's language.
This interface also defines a selection of "standard" parameters, that map to information in the org.eclipse.emf.validation.constraintProviders extension point schema <constraint> element.
Field Summary | |
---|---|
static String |
BUNDLE_PARAMETER
Parameter corresponding to the implied bundle symbolic name of the <constraint> element in plugin.xml constraint declarations. |
static String |
CLASS_PARAMETER
Parameter corresponding to the "class" attribute of the <constraint> element in plugin.xml constraint declarations. |
Method Summary | |
---|---|
String |
getLanguage()
Queries the "constraint language" of the described constraint, which indicates the constraint parser that can construct the constraint from this descriptor. |
String |
getParameterValue(String name)
Obtains the value of the specified named parameter, as a string. |
Methods inherited from interface org.eclipse.emf.validation.service.IConstraintDescriptor |
---|
addCategory, getBody, getCategories, getDescription, getEvaluationMode, getException, getId, getMessagePattern, getName, getPluginId, getSeverity, getStatusCode, isBatch, isEnabled, isError, isLive, removeCategory, setEnabled, setError, targetsEvent, targetsTypeOf |
Field Detail |
---|
static final String CLASS_PARAMETER
static final String BUNDLE_PARAMETER
CLASS_PARAMETER
)
that are not on its own classpath.
Method Detail |
---|
String getLanguage()
null
)String getParameterValue(String name)
name
- the parameter name
null
if no value is
specified for this parameter
|
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 |