Package deltix.qsrv.hf.pub.codec
Class FieldLayout<T extends DataField>
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.FieldLayout<T>
-
- All Implemented Interfaces:
DataFieldInfo
- Direct Known Subclasses:
NonStaticFieldLayout
,StaticFieldLayout
public class FieldLayout<T extends DataField> extends java.lang.Object implements DataFieldInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>
fieldType
-
Constructor Summary
Constructors Constructor Description FieldLayout(RecordClassDescriptor owner, T field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(java.lang.Class<?> cls)
java.lang.String
getDescription()
T
getField()
java.lang.String
getFieldName()
java.lang.Class<?>
getFieldType()
java.lang.Class<?>
getGenericClass()
java.lang.reflect.Method
getGetter()
java.lang.Class<?>
getGetterReturnType()
java.lang.reflect.Method
getHaser()
java.lang.reflect.Field
getJavaField()
java.lang.String
getName()
java.lang.Class<?>
getNativeType()
java.lang.reflect.Method
getNullifier()
RecordClassDescriptor
getOwner()
java.lang.reflect.Method
getSetter()
java.lang.Class<?>
getSetterType()
java.lang.String
getTitle()
DataType
getType()
boolean
hasAccessMethods()
boolean
hasGetter()
boolean
hasHaser()
boolean
hasNullifier()
boolean
hasSetter()
boolean
hasSmartProperties()
boolean
isBound()
protected void
set(java.lang.Object value, java.lang.Object msgObject)
java.lang.String
toString()
-
-
-
Constructor Detail
-
FieldLayout
public FieldLayout(RecordClassDescriptor owner, T field)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getField
public T getField()
-
getNativeType
public java.lang.Class<?> getNativeType()
-
getOwner
public RecordClassDescriptor getOwner()
- Specified by:
getOwner
in interfaceDataFieldInfo
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceDataFieldInfo
-
getType
public DataType getType()
- Specified by:
getType
in interfaceDataFieldInfo
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interfaceDataFieldInfo
-
bind
public final void bind(java.lang.Class<?> cls)
-
isBound
public final boolean isBound()
-
getJavaField
public final java.lang.reflect.Field getJavaField()
-
getGenericClass
public java.lang.Class<?> getGenericClass()
-
getFieldType
public final java.lang.Class<?> getFieldType()
-
getFieldName
public final java.lang.String getFieldName()
-
getDescription
public final java.lang.String getDescription()
-
set
protected final void set(java.lang.Object value, java.lang.Object msgObject) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
-
hasAccessMethods
public boolean hasAccessMethods()
-
hasSmartProperties
public boolean hasSmartProperties()
-
getGetter
public java.lang.reflect.Method getGetter()
-
hasGetter
public boolean hasGetter()
-
getGetterReturnType
public java.lang.Class<?> getGetterReturnType()
-
getSetterType
public java.lang.Class<?> getSetterType()
-
getSetter
public java.lang.reflect.Method getSetter()
-
hasSetter
public boolean hasSetter()
-
getHaser
public java.lang.reflect.Method getHaser()
-
hasHaser
public boolean hasHaser()
-
getNullifier
public java.lang.reflect.Method getNullifier()
-
hasNullifier
public boolean hasNullifier()
-
-