|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jpalm.mobiledb.field.definition.ListDefinition
public class ListDefinition
A list field in a MobileDB record.
Use ListOption
with this field.
Constructor Summary | |
---|---|
ListDefinition()
Creates a new list without any options. |
|
ListDefinition(java.util.List<ListOption> options)
Creates a new list using the specified options. |
|
ListDefinition(java.lang.String indicator)
Creates a new list from the string representation for this type. |
Method Summary | |
---|---|
java.lang.String |
getIndicator()
Gets the string representation for this definition. |
java.util.List<ListOption> |
getOptions()
Gets the options in this list. |
java.lang.String |
getRegex()
Gets the regular expression for this definition. |
void |
setOptions(java.util.List<ListOption> options)
Sets the options in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListDefinition()
public ListDefinition(java.util.List<ListOption> options)
options
- the optionspublic ListDefinition(java.lang.String indicator)
indicator
- the string representationMethod Detail |
---|
public java.lang.String getIndicator()
Definition
getIndicator
in interface Definition
public java.lang.String getRegex()
Definition
getRegex
in interface Definition
public java.util.List<ListOption> getOptions()
public void setOptions(java.util.List<ListOption> options)
options
- the options
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |