org.hd.d.pg2k.svrCore.location
Class Location.Time

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.location.Location.Base
      extended by org.hd.d.pg2k.svrCore.location.Location.Time
All Implemented Interfaces:
java.io.Serializable, MemoryTools.Internable
Direct Known Subclasses:
Location.Estd
Enclosing class:
Location

public static class Location.Time
extends Location.Base

Just captures time; designed to be derived from. TODO: needs to validate on deserialisation.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Unique Serialisation class ID generated by http://random.hd.org/.
private  Location.LongValueAndBounds Time
          What time does the item record?
 
Fields inherited from class org.hd.d.pg2k.svrCore.location.Location.Base
specific, specificKey, type, typeKey
 
Constructor Summary
Location.Time(boolean _specific, java.lang.String prefix, java.util.Properties p)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Depends on fields from the base class and the time info, if any.
 Location.LongValueAndBounds getTime()
          Get the time value; null means unknown.
 int hashCode()
          Depends on fields from the base class and the time info, if any.
 java.lang.String toString()
          Get value as a String.
 
Methods inherited from class org.hd.d.pg2k.svrCore.location.Location.Base
buildFromFile, buildFromFileOrNONE, buildFromProperties, buildFromProperties, getBooleanProp, getDoubleProp, getDoubleProps, getLongProp, getLongProps
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Time

private final Location.LongValueAndBounds Time
What time does the item record?


serialVersionUID

private static final long serialVersionUID
Unique Serialisation class ID generated by http://random.hd.org/.

See Also:
Constant Field Values
Constructor Detail

Location.Time

public Location.Time(boolean _specific,
                     java.lang.String prefix,
                     java.util.Properties p)
              throws PGException
Throws:
PGException
Method Detail

getTime

public final Location.LongValueAndBounds getTime()
Get the time value; null means unknown.


hashCode

public int hashCode()
Depends on fields from the base class and the time info, if any.

Overrides:
hashCode in class Location.Base

equals

public boolean equals(java.lang.Object obj)
Depends on fields from the base class and the time info, if any.

Overrides:
equals in class Location.Base

toString

public java.lang.String toString()
Get value as a String.

Overrides:
toString in class Location.Base

DHD Multimedia Gallery V1.57.21

Copyright (c) 1996-2011, Damon Hart-Davis. All rights reserved.