public class Contains extends Restriction
| Constructor and Description |
|---|
Contains()
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
boolean value)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
boolean value,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
boolean value,
ContainmentMode mode)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
boolean value,
ContainmentMode mode,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.util.Date value)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.util.Date value,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.util.Date value,
ContainmentMode mode)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.util.Date value,
ContainmentMode mode,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
double value)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
double value,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
double value,
ContainmentMode mode)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
double value,
ContainmentMode mode,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
long value)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
long value,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
long value,
ContainmentMode mode)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
long value,
ContainmentMode mode,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.lang.String value)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.lang.String value,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.lang.String value,
ContainmentMode mode)
Initializes a new instance of the Contains class.
|
Contains(PropertyPath propertyPath,
java.lang.String value,
ContainmentMode mode,
ContainmentComparison comparison)
Initializes a new instance of the Contains class.
|
| Modifier and Type | Method and Description |
|---|---|
ContainmentComparison |
getComparison()
Gets whether the search ignores cases and spaces.
|
ContainmentMode |
getMode()
Gets the boundaries of a search.
|
PropertyPath |
getPropertyPath()
Gets the property path.
|
java.lang.String |
getValue()
Gets the value.
|
void |
setComparison(ContainmentComparison comparison)
Gets whether the search ignores cases and spaces.
|
void |
setMode(ContainmentMode mode)
Sets the boundaries of a search.
|
void |
setPropertyPath(PropertyPath propertyPath)
Sets the property path.
|
void |
setValue(java.lang.String value)
Sets the value.
|
java.lang.String |
toString()
Converts the value of the current Contains object to its equivalent string representation.
|
public Contains()
public Contains(PropertyPath propertyPath, long value)
propertyPath - the property pathvalue - the valuepublic Contains(PropertyPath propertyPath, long value, ContainmentMode mode)
propertyPath - the property pathvalue - the valuemode - the modepublic Contains(PropertyPath propertyPath, long value, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuecomparison - the comparisonpublic Contains(PropertyPath propertyPath, long value, ContainmentMode mode, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuemode - the modecomparison - the comparisonpublic Contains(PropertyPath propertyPath, double value)
propertyPath - the property pathvalue - the valuepublic Contains(PropertyPath propertyPath, double value, ContainmentMode mode)
propertyPath - the property pathvalue - the valuemode - the modepublic Contains(PropertyPath propertyPath, double value, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuecomparison - the comparisonpublic Contains(PropertyPath propertyPath, double value, ContainmentMode mode, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuemode - the modecomparison - the comparisonpublic Contains(PropertyPath propertyPath, boolean value)
propertyPath - the property pathvalue - the valuepublic Contains(PropertyPath propertyPath, boolean value, ContainmentMode mode)
propertyPath - the property pathvalue - the valuemode - the modepublic Contains(PropertyPath propertyPath, boolean value, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuecomparison - the comparisonpublic Contains(PropertyPath propertyPath, boolean value, ContainmentMode mode, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuemode - the modecomparison - the comparisonpublic Contains(PropertyPath propertyPath, java.util.Date value)
propertyPath - the property pathvalue - the valuepublic Contains(PropertyPath propertyPath, java.util.Date value, ContainmentMode mode)
propertyPath - the property pathvalue - the valuemode - the modepublic Contains(PropertyPath propertyPath, java.util.Date value, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuecomparison - the comparisonpublic Contains(PropertyPath propertyPath, java.util.Date value, ContainmentMode mode, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuemode - the modecomparison - the comparisonpublic Contains(PropertyPath propertyPath, java.lang.String value)
propertyPath - the property pathvalue - the valuepublic Contains(PropertyPath propertyPath, java.lang.String value, ContainmentMode mode)
propertyPath - the property pathvalue - the valuemode - the modepublic Contains(PropertyPath propertyPath, java.lang.String value, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuecomparison - the comparisonpublic Contains(PropertyPath propertyPath, java.lang.String value, ContainmentMode mode, ContainmentComparison comparison)
propertyPath - the property pathvalue - the valuemode - the modecomparison - the comparisonpublic java.lang.String toString()
toString in class java.lang.Objectpublic PropertyPath getPropertyPath()
public void setPropertyPath(PropertyPath propertyPath)
propertyPath - the new property pathpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - the new valuepublic ContainmentMode getMode()
public void setMode(ContainmentMode mode)
mode - the new modepublic ContainmentComparison getComparison()
public void setComparison(ContainmentComparison comparison)
comparison - the new comparison