Package deltix.qsrv.hf.pub.md
Class DataField
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.NamedDescriptor
-
- deltix.qsrv.hf.pub.md.DataField
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NonStaticDataField
,StaticDataField
public abstract class DataField extends NamedDescriptor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
T_NON_STATIC_FIELD
static int
T_STATIC_FIELD
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataField(DataField template, DataType newType)
protected
DataField(java.lang.reflect.Field f, ClassAnnotator annotator, DataType inType)
Used by Introspector.protected
DataField(java.lang.String name, java.lang.reflect.Method method, ClassAnnotator annotator, DataType inType)
Used by Introspector.protected
DataField(java.lang.String name, java.lang.String title, DataType type)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Hashtable<java.lang.String,java.lang.String>
getAttributes()
DataType
getType()
boolean
isEquals(DataField target)
protected void
readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
static DataField
readFrom(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
abstract void
setAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)
java.lang.String
toString()
void
writeTo(java.io.DataOutputStream out, int serial)
-
Methods inherited from class deltix.qsrv.hf.pub.md.NamedDescriptor
getDescription, getName, getTitle, readFields, setDescription
-
-
-
-
Field Detail
-
T_STATIC_FIELD
public static final int T_STATIC_FIELD
- See Also:
- Constant Field Values
-
T_NON_STATIC_FIELD
public static final int T_NON_STATIC_FIELD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataField
protected DataField(java.lang.String name, java.lang.String title, DataType type)
-
DataField
protected DataField(java.lang.reflect.Field f, ClassAnnotator annotator, DataType inType)
Used by Introspector.
-
DataField
protected DataField(java.lang.String name, java.lang.reflect.Method method, ClassAnnotator annotator, DataType inType)
Used by Introspector.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getType
public final DataType getType()
-
writeTo
public void writeTo(java.io.DataOutputStream out, int serial) throws java.io.IOException
- Overrides:
writeTo
in classNamedDescriptor
- Throws:
java.io.IOException
-
readFields
protected void readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial) throws java.io.IOException
- Throws:
java.io.IOException
-
readFrom
public static DataField readFrom(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial) throws java.io.IOException
- Throws:
java.io.IOException
-
isEquals
public boolean isEquals(DataField target)
-
getAttributes
public abstract java.util.Hashtable<java.lang.String,java.lang.String> getAttributes()
-
setAttributes
public abstract void setAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)
-
-