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 intT_NON_STATIC_FIELDstatic intT_STATIC_FIELD
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataField(DataField template, DataType newType)protectedDataField(java.lang.reflect.Field f, ClassAnnotator annotator, DataType inType)Used by Introspector.protectedDataField(java.lang.String name, java.lang.reflect.Method method, ClassAnnotator annotator, DataType inType)Used by Introspector.protectedDataField(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()DataTypegetType()booleanisEquals(DataField target)protected voidreadFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)static DataFieldreadFrom(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)abstract voidsetAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)java.lang.StringtoString()voidwriteTo(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:
toStringin classjava.lang.Object
-
getType
public final DataType getType()
-
writeTo
public void writeTo(java.io.DataOutputStream out, int serial) throws java.io.IOException- Overrides:
writeToin 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)
-
-