|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.location.Location
public final class Location
Classes to hold (time and space) location data on an item. Such location data is immutable.
This is not considered an attribute of an item in the Gallery, but instead data associated with such an item. Many may not have this data at all.
Location data is read from a Properties map using Location.Base.buildFromProperties() to construct the appropriate subtype of Base to contain the data (or throw an exception if there is one). See the routine's description for the properties used.
Note that while location data read for a specific exhibit is taken to be `specific' else not, this can be overridden by use of the `specific' flag which takes a boolean ``true'' or ``false'' value.
TODO: needs object verification after deserialisation and mutable values need to be cloned.
| Nested Class Summary | |
|---|---|
static class |
Location.Base
Base of all location classes. |
static class |
Location.DoubleValueAndBounds
Value-and-error stored as doubles, eg for place. |
static class |
Location.Estd
Earth-standard coordinates. |
static class |
Location.LongValueAndBounds
Value-and-error stored as longs, eg for time. |
private static class |
Location.None
Singleton: represents an absence of location information. |
static class |
Location.Time
Just captures time; designed to be derived from. |
static class |
Location.ValueAndBounds
Base class of location value with error bounds. |
| Field Summary | |
|---|---|
static Location.Base |
NONE
Single distinguished value meaning `no location info'. |
| Constructor Summary | |
|---|---|
private |
Location()
Don't construct instances of this container class. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Location.Base NONE
| Constructor Detail |
|---|
private Location()
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||