public class Count extends java.lang.Object implements IRestriction
| Constructor and Description |
|---|
Count(IRestriction restriction)
Instantiates a new count.
|
Count(IRestriction restriction,
int from)
Instantiates a new count.
|
Count(IRestriction restriction,
int from,
int to)
Instantiates a new count.
|
Count(java.lang.String expression)
Instantiates a new count.
|
Count(java.lang.String expression,
int from)
Instantiates a new count.
|
Count(java.lang.String expression,
int from,
int to)
Instantiates a new count.
|
Count(java.lang.String propertyName,
IRestriction restriction)
Instantiates a new count.
|
Count(java.lang.String propertyName,
IRestriction restriction,
int from)
Instantiates a new count.
|
Count(java.lang.String propertyName,
IRestriction restriction,
int from,
int to)
Instantiates a new count.
|
Count(java.lang.String propertyName,
java.lang.String expression)
Instantiates a new count.
|
Count(java.lang.String propertyName,
java.lang.String expression,
int from)
Instantiates a new count.
|
Count(java.lang.String propertyName,
java.lang.String expression,
int from,
int to)
Instantiates a new count.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFrom()
Gets the from.
|
int |
getTo()
Gets the to.
|
void |
setFrom(int from)
Sets the from.
|
void |
setTo(int to)
Sets the to.
|
java.lang.String |
toString() |
public Count(IRestriction restriction)
restriction - the restrictionpublic Count(IRestriction restriction, int from)
restriction - the restrictionfrom - the frompublic Count(IRestriction restriction, int from, int to)
restriction - the restrictionfrom - the fromto - the topublic Count(java.lang.String expression)
expression - the expressionpublic Count(java.lang.String expression,
int from)
expression - the expressionfrom - the frompublic Count(java.lang.String expression,
int from,
int to)
expression - the expressionfrom - the fromto - the topublic Count(java.lang.String propertyName,
IRestriction restriction)
propertyName - the property namerestriction - the restrictionpublic Count(java.lang.String propertyName,
IRestriction restriction,
int from)
propertyName - the property namerestriction - the restrictionfrom - the frompublic Count(java.lang.String propertyName,
IRestriction restriction,
int from,
int to)
propertyName - the property namerestriction - the restrictionfrom - the fromto - the topublic Count(java.lang.String propertyName,
java.lang.String expression)
propertyName - the property nameexpression - the expressionpublic Count(java.lang.String propertyName,
java.lang.String expression,
int from)
propertyName - the property nameexpression - the expressionfrom - the frompublic Count(java.lang.String propertyName,
java.lang.String expression,
int from,
int to)
propertyName - the property nameexpression - the expressionfrom - the fromto - the topublic int getFrom()
public int getTo()
public void setFrom(int from)
from - the new frompublic void setTo(int to)
to - the new topublic java.lang.String toString()
toString in class java.lang.Object