|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.modules.Parameter
databionics.modules.SwitchParameter
public class SwitchParameter
Switch parameter without an argument.
Field Summary | |
---|---|
protected java.lang.Boolean |
def
default value |
protected static org.apache.log4j.Logger |
log
log4j logging |
protected java.lang.Boolean |
value
parameter value |
Fields inherited from class databionics.modules.Parameter |
---|
constant, description, longName, name, optional |
Constructor Summary | |
---|---|
SwitchParameter()
Default constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.lang.Boolean |
getDefault()
Get the default value |
java.lang.Boolean |
getValue()
Get the value or, if value is not defined, the default value |
java.lang.String |
getValueAsString()
String representation of value. |
void |
setDefault(boolean var)
Set the default value |
void |
setDefault(java.lang.Boolean var)
Set the default value |
void |
setValue(boolean var)
Set the value |
void |
setValue(java.lang.Boolean var)
Set the value |
java.lang.String |
toString()
String representation with name and value as needed for starting a tool. |
java.lang.String |
toXml()
XML representation |
static SwitchParameter |
valueOf(org.w3c.dom.Element el)
Create a IntParameter from an XML tag |
Methods inherited from class databionics.modules.Parameter |
---|
getDescription, getLongName, getName, isConstant, isOptional, setConstant, setDescription, setLongName, setName, setOptional |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger log
protected java.lang.Boolean def
protected java.lang.Boolean value
Constructor Detail |
---|
public SwitchParameter()
Method Detail |
---|
public java.lang.Boolean getValue()
public java.lang.String getValueAsString()
getValueAsString
in class Parameter
public void setValue(java.lang.Boolean var)
public void setValue(boolean var)
public java.lang.Boolean getDefault()
public void setDefault(java.lang.Boolean var)
public void setDefault(boolean var)
public java.lang.Object clone()
clone
in class Parameter
public java.lang.String toString()
toString
in class Parameter
public static SwitchParameter valueOf(org.w3c.dom.Element el)
public java.lang.String toXml()
toXml
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |