public class MatchVariableConstraint extends NamedScriptableDefinition
Constructor and Description |
---|
MatchVariableConstraint() |
MatchVariableConstraint(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
MatchVariableConstraint |
copy() |
boolean |
equals(java.lang.Object o) |
static boolean |
getBooleanValue(Element element,
java.lang.String attributeName,
boolean defaultValue) |
java.lang.String |
getContainsConstraint() |
java.lang.String |
getContextConstraint() |
java.lang.String |
getExpectedTypes() |
java.lang.String |
getExpressionTypes() |
static int |
getIntValue(Element element,
java.lang.String attributeName,
int defaultValue) |
int |
getMaxCount() |
int |
getMinCount() |
java.lang.String |
getNameOfExprType() |
java.lang.String |
getNameOfFormalArgType() |
java.lang.String |
getReferenceConstraint() |
java.lang.String |
getRegExp() |
java.lang.String |
getWithinConstraint() |
int |
hashCode() |
boolean |
isExprTypeWithinHierarchy() |
boolean |
isFormalArgTypeWithinHierarchy() |
boolean |
isGreedy() |
boolean |
isInvertContainsConstraint() |
boolean |
isInvertExprType() |
boolean |
isInvertFormalType() |
boolean |
isInvertReference() |
boolean |
isInvertRegExp() |
boolean |
isInvertWithinConstraint() |
boolean |
isPartOfSearchResults() |
boolean |
isRegexExprType() |
boolean |
isRegexFormalType() |
boolean |
isStrictlyWithinHierarchy() |
boolean |
isWholeWordsOnly() |
boolean |
isWithinHierarchy() |
void |
readExternal(Element element) |
void |
setContainsConstraint(java.lang.String containsConstraint) |
void |
setContextConstraint(java.lang.String contextConstraint) |
void |
setExpectedTypes(java.lang.String expectedTypes) |
void |
setExpressionTypes(java.lang.String expressionTypes) |
void |
setExprTypeWithinHierarchy(boolean exprTypeWithinHierarchy) |
void |
setFormalArgTypeWithinHierarchy(boolean formalArgTypeWithinHierarchy) |
void |
setGreedy(boolean greedy) |
void |
setInvertContainsConstraint(boolean invertContainsConstraint) |
void |
setInvertExprType(boolean invertExprType) |
void |
setInvertFormalType(boolean invertFormalType) |
void |
setInvertReference(boolean invertReference) |
void |
setInvertRegExp(boolean invertRegExp) |
void |
setInvertWithinConstraint(boolean invertWithinConstraint) |
void |
setMaxCount(int maxCount) |
void |
setMinCount(int minCount) |
void |
setNameOfExprType(java.lang.String nameOfExprType) |
void |
setNameOfFormalArgType(java.lang.String nameOfFormalArgType) |
void |
setPartOfSearchResults(boolean partOfSearchResults) |
void |
setReferenceConstraint(java.lang.String nameOfReferenceVar) |
void |
setRegExp(java.lang.String regExp) |
void |
setStrictlyWithinHierarchy(boolean strictlyWithinHierarchy) |
void |
setWholeWordsOnly(boolean wholeWordsOnly) |
void |
setWithinConstraint(java.lang.String withinConstraint) |
void |
setWithinHierarchy(boolean withinHierarchy) |
void |
writeExternal(Element element) |
getName, getScriptCodeConstraint, setName, setScriptCodeConstraint
public MatchVariableConstraint()
public MatchVariableConstraint(java.lang.String name)
public MatchVariableConstraint copy()
copy
in class NamedScriptableDefinition
public boolean isGreedy()
public void setGreedy(boolean greedy)
public java.lang.String getRegExp()
public void setRegExp(java.lang.String regExp)
public boolean isInvertRegExp()
public void setInvertRegExp(boolean invertRegExp)
public boolean isWithinHierarchy()
public void setWithinHierarchy(boolean withinHierarchy)
public int getMinCount()
public void setMinCount(int minCount)
public int getMaxCount()
public void setMaxCount(int maxCount)
public boolean isPartOfSearchResults()
public void setPartOfSearchResults(boolean partOfSearchResults)
public boolean isInvertReference()
public void setInvertReference(boolean invertReference)
public java.lang.String getReferenceConstraint()
public void setReferenceConstraint(java.lang.String nameOfReferenceVar)
public boolean isStrictlyWithinHierarchy()
public void setStrictlyWithinHierarchy(boolean strictlyWithinHierarchy)
public java.lang.String getNameOfExprType()
public java.lang.String getExpressionTypes()
public void setNameOfExprType(java.lang.String nameOfExprType)
public void setExpressionTypes(java.lang.String expressionTypes)
public boolean isRegexExprType()
public boolean isInvertExprType()
public void setInvertExprType(boolean invertExprType)
public boolean isExprTypeWithinHierarchy()
public void setExprTypeWithinHierarchy(boolean exprTypeWithinHierarchy)
public boolean isWholeWordsOnly()
public void setWholeWordsOnly(boolean wholeWordsOnly)
public java.lang.String getNameOfFormalArgType()
public java.lang.String getExpectedTypes()
public void setNameOfFormalArgType(java.lang.String nameOfFormalArgType)
public void setExpectedTypes(java.lang.String expectedTypes)
public boolean isRegexFormalType()
public boolean isInvertFormalType()
public void setInvertFormalType(boolean invertFormalType)
public boolean isFormalArgTypeWithinHierarchy()
public void setFormalArgTypeWithinHierarchy(boolean formalArgTypeWithinHierarchy)
public java.lang.String getContextConstraint()
public void setContextConstraint(java.lang.String contextConstraint)
public boolean equals(java.lang.Object o)
equals
in class NamedScriptableDefinition
public int hashCode()
hashCode
in class NamedScriptableDefinition
public void readExternal(Element element)
readExternal
in interface JDOMExternalizable
readExternal
in class NamedScriptableDefinition
public static boolean getBooleanValue(Element element, java.lang.String attributeName, boolean defaultValue)
public static int getIntValue(Element element, java.lang.String attributeName, int defaultValue)
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
writeExternal
in class NamedScriptableDefinition
public java.lang.String getWithinConstraint()
public void setWithinConstraint(java.lang.String withinConstraint)
public java.lang.String getContainsConstraint()
public void setContainsConstraint(java.lang.String containsConstraint)
public boolean isInvertContainsConstraint()
public void setInvertContainsConstraint(boolean invertContainsConstraint)
public boolean isInvertWithinConstraint()
public void setInvertWithinConstraint(boolean invertWithinConstraint)