|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.TypeSupport<T>
org.epics.pvmanager.TimeSupport<T>
T
- type for which to add time support
@Deprecated public abstract class TimeSupport<T>
Strategy class that extract time information from a given type.
Constructor Summary | |
---|---|
TimeSupport(java.lang.Class<T> clazz)
Deprecated. Creates a new support for extracting time information from the given class. |
Method Summary | ||
---|---|---|
protected abstract TimeStamp |
extractTimestamp(T object)
Deprecated. Extracts the time information from the given object. |
|
static
|
timestampOf(T value)
Deprecated. Extracts the TimeStamp of the value using the appropriate type support. |
|
static
|
toTimestamp(T value)
Deprecated. Extracts the TimeStamp of the value using the appropriate type support. |
Methods inherited from class org.epics.pvmanager.TypeSupport |
---|
addTypeSupport, findTypeSupportFor, getType, getTypeSupportFamily, isTypeDirectlySupported, isTypeSupported, typeSupportsFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeSupport(java.lang.Class<T> clazz)
clazz
- the type on which to add supportMethod Detail |
---|
public static <T> TimeStamp timestampOf(T value)
T
- the type of the valuevalue
- the value from which to extract the timestamp
public static <T> Timestamp toTimestamp(T value)
T
- the type of the valuevalue
- the value from which to extract the timestamp
protected abstract TimeStamp extractTimestamp(T object)
object
- object on which to extract time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |