|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.shared.MobyData org.biomoby.shared.MobySecondaryData
public class MobySecondaryData
A container representing a way how various secondary data types are used in a service.
Field Summary | |
---|---|
static String |
BOOLEAN_TYPE
|
static String |
DATETIME_TYPE
|
static String |
FLOAT_TYPE
|
static String |
INTEGER_TYPE
|
static String |
STRING_TYPE
|
Constructor Summary | |
---|---|
MobySecondaryData(Element elem)
Construct this instance from a piece of XML. |
|
MobySecondaryData(String name)
Default constructor. |
Method Summary | |
---|---|
void |
addAllowedValue(String value)
|
MobySecondaryData |
clone()
Must be overwritten by a subclass. |
String |
format(int indent)
|
String[] |
getAllowedValues()
|
String |
getDataType()
|
String |
getDefaultValue()
|
String |
getDescription()
Return a (usually) human readable description of this parameter. |
String |
getLSID()
|
int |
getMaximumValue()
|
String |
getMaxValue()
|
int |
getMinimumValue()
|
String |
getMinValue()
|
boolean |
isPrimary()
|
void |
setAllowedValues(String[] value)
|
void |
setDataType(String value)
|
void |
setDefaultValue(String value)
|
void |
setDescription(String value)
|
void |
setMaximumValue(int value)
Deprecated. Use setMaxValue(java.lang.String) instead. |
void |
setMaxValue(String value)
|
void |
setMinimumValue(int value)
Deprecated. Use setMinValue(java.lang.String) instead. |
void |
setMinValue(String value)
|
String |
toString()
|
String |
toXML()
Convert this instance into XML. |
Methods inherited from class org.biomoby.shared.MobyData |
---|
getId, getName, getUserData, setId, setName, setUserData |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String INTEGER_TYPE
public static final String FLOAT_TYPE
public static final String STRING_TYPE
public static final String DATETIME_TYPE
public static final String BOOLEAN_TYPE
Constructor Detail |
---|
public MobySecondaryData(String name)
public MobySecondaryData(Element elem)
Method Detail |
---|
public MobySecondaryData clone()
MobyData
clone
in class MobyData
public String getDataType()
public String getLSID()
public void setDataType(String value) throws Exception
Exception
public String getDefaultValue()
public void setDefaultValue(String value)
public int getMinimumValue()
public void setMinimumValue(int value)
setMinValue(java.lang.String)
instead.
public String getMinValue()
public void setMinValue(String value)
public int getMaximumValue()
public void setMaximumValue(int value)
setMaxValue(java.lang.String)
instead.
public String getMaxValue()
public void setMaxValue(String value)
public String[] getAllowedValues()
public void setAllowedValues(String[] value)
public void addAllowedValue(String value)
public boolean isPrimary()
isPrimary
in class MobyData
public String getDescription()
public void setDescription(String value)
getDescription()
public String toXML()
toXML
in class MobyData
public String format(int indent)
format
in class MobyData
public String toString()
toString
in class Object
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |