|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ws.enumeration.IterationConstraints
public class IterationConstraints
Represents the iteration constraints that can be specified on the pull operation of WS-Enumeration.
| Field Summary | |
|---|---|
static IterationConstraints |
DEFAULT_CONSTRAINTS
Default constraints (maxElements set to 1, no maxTime limit and no maxCharacters limit). |
private static org.globus.util.I18n |
i18n
|
private int |
maxCharacters
|
private int |
maxElements
|
private org.apache.axis.types.Duration |
maxTime
|
| Constructor Summary | |
|---|---|
IterationConstraints()
Creates IterationConstraints with the default settings (maxElements set to 1, no maxTime limit and no maxCharacters limit). |
|
IterationConstraints(int maxElements,
int maxCharacters,
org.apache.axis.types.Duration maxTime)
Creates IterationConstraints with the specified settings. |
|
| Method Summary | |
|---|---|
int |
getMaxCharacters()
Returns the maximum number of characters (in Unicode) that the consumer can accept. |
int |
getMaxElements()
Returns the maximum number of elements that the consumer can accept. |
org.apache.axis.types.Duration |
getMaxTime()
Returns the maximum amount of time the consumer is willing to wait for a response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static org.globus.util.I18n i18n
public static final IterationConstraints DEFAULT_CONSTRAINTS
private int maxElements
private int maxCharacters
private org.apache.axis.types.Duration maxTime
| Constructor Detail |
|---|
public IterationConstraints()
public IterationConstraints(int maxElements,
int maxCharacters,
org.apache.axis.types.Duration maxTime)
maxElements - the maxiumum number of elements that the consumer
can accept.maxCharacters - the maximum number of characters (in Unicode) that
the consumer can accept.maxTime - the maximum amount of time that the consumer is willing
to wait for a response.
java.lang.IllegalArgumentException - if any of the parameters values is
invalid| Method Detail |
|---|
public int getMaxElements()
public int getMaxCharacters()
public org.apache.axis.types.Duration getMaxTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||