public class BasicFieldConstraint extends BasicConstraint implements FieldConstraint, Serializable
true.modifiable| Modifier | Constructor and Description |
|---|---|
protected |
BasicFieldConstraint(StepField field)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this constraint to the specified object.
|
StepField |
getField()
Gets the associated stepfield.
|
String |
getFieldName()
Returns the main field's fieldname, possibly extended with the step'sname if known.
|
int |
hashCode() |
boolean |
isCaseSensitive()
Tests if a the string comparison is case sensitive.
|
boolean |
matches(Object o)
Determines whether a certain given value would match this constraint.
|
BasicFieldConstraint |
setCaseSensitive(boolean caseSensitive)
Sets caseSensitive property.
|
String |
toString() |
getBasicSupportLevel, isInverse, setInverse, setUnmodifiableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBasicSupportLevel, isInverse, setUnmodifiableprotected BasicFieldConstraint(StepField field)
field - The associated field.IllegalArgumentException - when an invalid argument is supplied.public BasicFieldConstraint setCaseSensitive(boolean caseSensitive)
caseSensitive - The caseSensitive property value.BasicFieldConstraint instance.public boolean matches(Object o)
FieldConstraintmatches in interface FieldConstraintpublic StepField getField()
FieldConstraintgetField in interface FieldConstraintpublic boolean isCaseSensitive()
FieldConstraintisCaseSensitive in interface FieldConstraintpublic boolean equals(Object obj)
Constrainttrue if and only if the argument is a non-null
Constraint object representing the same constraint(s).equals in interface Constraintequals in class BasicConstraintobj - The object to compare with.true if the objects are equal,
false otherwise.public int hashCode()
hashCode in interface ConstrainthashCode in class BasicConstraintpublic String getFieldName()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}