|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.minetti.astrodevice.server.hibernate.object.embedded.EmbeddedDecimalCoordinate
@Embeddable public final class EmbeddedDecimalCoordinate
Object representing a coordinate stored as decimal format (embeddable class for Hibernate framework).
Constructor Summary | |
---|---|
EmbeddedDecimalCoordinate()
Constructor. |
|
EmbeddedDecimalCoordinate(boolean hourAngle,
org.minetti.astrodevice.common.coordinate.Coordinate coordinate)
Constructor. |
Method Summary | |
---|---|
double |
getValue()
Returns the full value of the coordinate in hours (h) or degrees (°). |
void |
setValue(double value)
Sets the full value of the coordinate in hours (h) or degrees (°). |
org.minetti.astrodevice.common.coordinate.Coordinate |
toCoordinate(boolean hourAngle)
Returns the coordinate. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedDecimalCoordinate()
public EmbeddedDecimalCoordinate(boolean hourAngle, org.minetti.astrodevice.common.coordinate.Coordinate coordinate)
hourAngle
- TRUE
if the coordinate must be an hour angle and therefore
expressed in hours.coordinate
- Coordinate.Method Detail |
---|
public double getValue()
public void setValue(double value)
value
- Full value of the coordinate.public org.minetti.astrodevice.common.coordinate.Coordinate toCoordinate(boolean hourAngle)
hourAngle
- TRUE
if the coordinate must be an hour angle and therefore
expressed in hours.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |