T
- The type being returned is usually a String, BigDecimal,
BigInteger, etc.public abstract class OMMFieldEntryAdapter<T extends com.reuters.rfa.omm.OMMData> extends AbstractAdapter<com.reuters.rfa.omm.OMMFieldEntry,T>
OMMFieldEntry
type that can be converted.Modifier and Type | Field and Description |
---|---|
protected OMMDataAdapter |
dataAdapter |
protected com.reuters.rfa.dictionary.FieldDictionary |
fieldDictionary |
Constructor and Description |
---|
OMMFieldEntryAdapter(com.reuters.rfa.dictionary.FieldDictionary fieldDictionary,
OMMDataAdapter dataAdapter) |
Modifier and Type | Method and Description |
---|---|
<X> X |
adapt(com.reuters.rfa.omm.OMMFieldEntry fieldEntry,
Class<X> type)
Generic implementation of the
adapt(OMMFieldEntry, Class) method
which calls the BasicAdapter.adapt(Object) method and then casts the result
to the specified type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapt
protected final com.reuters.rfa.dictionary.FieldDictionary fieldDictionary
protected final OMMDataAdapter dataAdapter
public OMMFieldEntryAdapter(com.reuters.rfa.dictionary.FieldDictionary fieldDictionary, OMMDataAdapter dataAdapter)
public <X> X adapt(com.reuters.rfa.omm.OMMFieldEntry fieldEntry, Class<X> type)
adapt(OMMFieldEntry, Class)
method
which calls the BasicAdapter.adapt(Object)
method and then casts the result
to the specified type.adapt
in interface FlexibleAdapter<com.reuters.rfa.omm.OMMFieldEntry,T extends com.reuters.rfa.omm.OMMData>
adapt
in class AbstractAdapter<com.reuters.rfa.omm.OMMFieldEntry,T extends com.reuters.rfa.omm.OMMData>
fieldEntry
- The source which will be converted.type
- The return type.Copyright © 2016. All Rights Reserved.