public class Parameter
extends TableDataset
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLUMN_NAME_NAME |
static java.lang.String |
COLUMN_NAME_RADIX |
static java.lang.String |
COLUMN_NAME_REPRESENTATION |
static java.lang.String |
COLUMN_NAME_VALUE |
static java.lang.String |
RADIX_DECIMAL |
static java.lang.String |
RADIX_HEX |
static java.lang.String |
RADIX_OCTAL |
static java.lang.String |
REPRESENTATION_ENGINEERING |
static java.lang.String |
REPRESENTATION_RAW |
Constructor and Description |
---|
Parameter(java.lang.String parameterName,
java.lang.String parameterRepresentation,
java.lang.String parameterRadix)
Creates a new Parameter
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
java.lang.String |
getColumnName(int index) |
java.lang.String |
getName()
Get the name of the parameter
|
java.lang.String |
getRadix()
Get the radix of the parameter.
|
java.lang.String |
getRepresentation()
Get the representation of the parameter.
|
int |
getRowCount() |
java.lang.String |
getStringValue()
Get the value of the parameter as String
|
protected org.w3c.dom.Element |
getXMLElement(int position,
org.w3c.dom.Document doc) |
void |
setName(java.lang.String parameterName)
Set the name of the parameter
|
void |
setRadix(java.lang.String parameterRadix)
Set the radix of the parameter.
|
void |
setRepresentation(java.lang.String parameterRepresentation)
Set the representation of the parameter.
|
java.lang.String |
toXML(int position)
Get the XML representation of this parameter
|
java.lang.String |
toXML(int position,
int indent)
Get the XML representation of this parameter with a given indentation
|
public static java.lang.String RADIX_DECIMAL
public static java.lang.String RADIX_HEX
public static java.lang.String RADIX_OCTAL
public static java.lang.String REPRESENTATION_RAW
public static java.lang.String REPRESENTATION_ENGINEERING
public static java.lang.String COLUMN_NAME_NAME
public static java.lang.String COLUMN_NAME_REPRESENTATION
public static java.lang.String COLUMN_NAME_RADIX
public static java.lang.String COLUMN_NAME_VALUE
public Parameter(java.lang.String parameterName, java.lang.String parameterRepresentation, java.lang.String parameterRadix)
parameterName
- Name of the parameterparameterRepresentation
- Either Raw or EngineeringparameterRadix
- One of Decimal, Hexadecimal or Octalpublic java.lang.String getName()
public java.lang.String getRepresentation()
public java.lang.String getRadix()
public java.lang.String getStringValue()
public void setName(java.lang.String parameterName)
parameterName
- public void setRepresentation(java.lang.String parameterRepresentation)
parameterRepresentation
- public void setRadix(java.lang.String parameterRadix)
parameterRadix
- public java.lang.String toXML(int position)
position
- The value of the attribute positionprotected org.w3c.dom.Element getXMLElement(int position, org.w3c.dom.Document doc)
public java.lang.String toXML(int position, int indent)
position
- The value of the attribute positionindent
- The desired indentation for the textpublic int getRowCount()
public java.lang.String getColumnName(int index)
public int getColumnCount()