org.zeroexchange.model.resource.value
Class TimestampValue

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.value.Value
              extended by org.zeroexchange.model.resource.value.TimestampValue
All Implemented Interfaces:
Serializable, Identifiable<Integer>, SingleValueHolder<Date>

@Entity
public class TimestampValue
extends Value
implements SingleValueHolder<Date>

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.resource.value.Value
FIELD_PROPERTYSPEC
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
TimestampValue()
           
 
Method Summary
 Date getValue()
          Returns the value.
 void setValue(Date value)
          Sets the value.
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampValue

public TimestampValue()
Method Detail

getValue

public Date getValue()
Description copied from interface: SingleValueHolder
Returns the value.

Specified by:
getValue in interface SingleValueHolder<Date>

setValue

public void setValue(Date value)
Description copied from interface: SingleValueHolder
Sets the value.

Specified by:
setValue in interface SingleValueHolder<Date>


Copyright © 2013. All Rights Reserved.