public class StationStaticParam
extends java.lang.Object
Constructor and Description |
---|
StationStaticParam(java.lang.String name,
java.lang.String data)
Create a new object of type StationStaticParam.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData()
Gets the data of the parameter.
|
java.lang.String |
getName()
Gets the name of the parameter.
|
boolean |
setData(java.lang.String data)
Sets the param data.
|
boolean |
setName(java.lang.String name)
Sets the name of the parameter.
|
java.lang.String |
toString()
Outputs a string representation of the object.
|
public StationStaticParam(java.lang.String name, java.lang.String data)
name
- A string holding the name of the parameter.data
- A string holding the parameters data.public boolean setName(java.lang.String name)
name
- A string holding the name of the parameter.public boolean setData(java.lang.String data)
data
- A string holding the new data.public java.lang.String getName()
public java.lang.String getData()
public java.lang.String toString()
toString
in class java.lang.Object