Constructor and Description |
---|
SFRData()
Nullary constructor.
|
SFRData(java.lang.String feature)
Parameterized constructor with feature specified.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deep copies and returns a newly instantiated object.
|
void |
copy(SFRData data)
Deep copies the contents of the object.
|
boolean |
equals(java.lang.Object otherObject)
Overrides the equals operation to check the attributes on this object
with another object of the same type.
|
java.lang.String |
getFeature()
Returns the feature of the SFRData.
|
java.util.ArrayList<java.lang.Double> |
getPosition()
Returns the position of the SFRData.
|
double |
getUncertainty()
Returns the uncertainty of the SFRData.
|
java.lang.String |
getUnits()
Returns the units of the SFRData.
|
double |
getValue()
Returns the value of the SFRData.
|
int |
hashCode()
Returns the hashCode of the object.
|
void |
setFeature(java.lang.String feature)
Sets the feature type of the data.
|
void |
setPosition(java.util.ArrayList<java.lang.Double> position)
Sets the position of the SFRData object.
|
void |
setUncertainty(double uncertainty)
Sets the uncertainty of the data.
|
void |
setUnits(java.lang.String units)
Sets the units of the data.
|
void |
setValue(double value)
Sets the value of the data.
|
public SFRData()
Nullary constructor.
public SFRData(java.lang.String feature)
feature
- String representation of the feature.public void setValue(double value)
Sets the value of the data.
value
- The value of the data.public void setUncertainty(double uncertainty)
Sets the uncertainty of the data.
uncertainty
- The uncertainty of the data.public void setUnits(java.lang.String units)
Sets the units of the data.
units
- The units of the data.public void setFeature(java.lang.String feature)
Sets the feature type of the data.
feature
- The feature of the data.public void setPosition(java.util.ArrayList<java.lang.Double> position)
Sets the position of the SFRData object. Represented in (x, y, z) coordinates.
position
- The position of the data, represented in (x, y, z)
coordinates.public java.util.ArrayList<java.lang.Double> getPosition()
getPosition
in interface IData
IData.getPosition()
public double getValue()
getValue
in interface IData
IData.getValue()
public double getUncertainty()
getUncertainty
in interface IData
IData.getUncertainty()
public java.lang.String getUnits()
getUnits
in interface IData
IData.getUnits()
public java.lang.String getFeature()
getFeature
in interface IData
IData.getFeature()
public boolean equals(java.lang.Object otherObject)
Overrides the equals operation to check the attributes on this object with another object of the same type. Returns true if the objects are equal. False otherwise.
equals
in class java.lang.Object
otherObject
- The object to be compared.public int hashCode()
Returns the hashCode of the object.
hashCode
in class java.lang.Object
public void copy(SFRData data)
Deep copies the contents of the object.
data
- The object to be copied from.public java.lang.Object clone()
Deep copies and returns a newly instantiated object.
clone
in class java.lang.Object