|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.soaplab.services.metadata.RepeatableDef
public class RepeatableDef
Structure defining how a parameter can be repeated. Some useful combinations are:
minRep maxRep 0 0 item is not repeatable (default) 0 -1 repeatable infinitely m -1 repeat min m-times 0 n repeat max n-times 1 n repeat max n-times m n repeat min m-times and max n-timesAdditional options (in 'options'), some of them are:
KEY TYPE CONTENTS repeatprompt string prompt describing what to be repeated (default: More...)
Field Summary | |
---|---|
int |
maxRep
Maximum number of repetitions. |
int |
minRep
Minimum number of repetitions. |
PropertiesBag |
options
|
static java.lang.String |
REPEAT_ERROR
|
Constructor Summary | |
---|---|
RepeatableDef()
|
Method Summary | |
---|---|
java.lang.String |
format(int indent)
As toString() but with indentations. |
java.lang.String |
get(java.lang.String key)
Convenient methods for accessing 'options' |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REPEAT_ERROR
public int minRep
public int maxRep
public PropertiesBag options
Constructor Detail |
---|
public RepeatableDef()
Method Detail |
---|
public java.lang.String get(java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String format(int indent)
|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |