Package deltix.qsrv.hf.pub.md
Class StaticDataField
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.NamedDescriptor
-
- deltix.qsrv.hf.pub.md.DataField
-
- deltix.qsrv.hf.pub.md.StaticDataField
-
- All Implemented Interfaces:
java.io.Serializable
public final class StaticDataField extends DataField
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STATIC_NULL_VALUE
-
Fields inherited from class deltix.qsrv.hf.pub.md.DataField
T_NON_STATIC_FIELD, T_STATIC_FIELD
-
-
Constructor Summary
Constructors Constructor Description StaticDataField(StaticDataField template, DataType newType)
StaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.Object value)
Constructs a StaticDataField.StaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.String value)
Constructs a StaticDataField.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Hashtable<java.lang.String,java.lang.String>
getAttributes()
java.lang.Object
getBoxedStaticValue()
java.lang.String
getStaticValue()
boolean
invalidateValue()
protected void
readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
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
-
STATIC_NULL_VALUE
public static final java.lang.String STATIC_NULL_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StaticDataField
public StaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.String value)
Constructs a StaticDataField.
-
StaticDataField
public StaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.Object value)
Constructs a StaticDataField.
-
StaticDataField
public StaticDataField(StaticDataField template, DataType newType)
-
-
Method Detail
-
getStaticValue
public java.lang.String getStaticValue()
-
getBoxedStaticValue
public java.lang.Object getBoxedStaticValue()
-
invalidateValue
public boolean invalidateValue()
-
writeTo
public void writeTo(java.io.DataOutputStream out, int serial) throws java.io.IOException
-
readFields
protected void readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial) throws java.io.IOException
- Overrides:
readFields
in classDataField
- Throws:
java.io.IOException
-
getAttributes
public java.util.Hashtable<java.lang.String,java.lang.String> getAttributes()
- Specified by:
getAttributes
in classDataField
-
setAttributes
public void setAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)
- Specified by:
setAttributes
in classDataField
-
-