Package deltix.qsrv.hf.pub.md
Class NonStaticDataField
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.NamedDescriptor
-
- deltix.qsrv.hf.pub.md.DataField
-
- deltix.qsrv.hf.pub.md.NonStaticDataField
-
- All Implemented Interfaces:
java.io.Serializable
public final class NonStaticDataField extends DataField
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.pub.md.DataField
T_NON_STATIC_FIELD, T_STATIC_FIELD
-
-
Constructor Summary
Constructors Constructor Description NonStaticDataField(NonStaticDataField template, DataType newType)
NonStaticDataField(java.lang.String name, java.lang.String title, DataType type)
Constructs a regular NonStaticDataField, that is not a primary key component and not placed relative to another field.NonStaticDataField(java.lang.String name, java.lang.String title, DataType type, boolean pk, java.lang.String relativeTo)
Constructs a fully initialized NonStaticDataField.NonStaticDataField(java.lang.String inName, java.lang.String inTitle, DataType type, boolean pk, java.lang.String relativeTo, boolean displayIdentifier)
NonStaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.String relativeTo)
Constructs a DataField that is not a primary key component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdjustmentType()
java.util.Hashtable<java.lang.String,java.lang.String>
getAttributes()
java.lang.String
getRelativeTo()
boolean
isDisplayIdentifier()
boolean
isPk()
protected void
readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
void
setAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)
void
writeTo(java.io.DataOutputStream out, int serial)
-
Methods inherited from class deltix.qsrv.hf.pub.md.NamedDescriptor
getDescription, getName, getTitle, readFields, setDescription
-
-
-
-
Constructor Detail
-
NonStaticDataField
public NonStaticDataField(java.lang.String name, java.lang.String title, DataType type)
Constructs a regular NonStaticDataField, that is not a primary key component and not placed relative to another field.
-
NonStaticDataField
public NonStaticDataField(java.lang.String name, java.lang.String title, DataType type, java.lang.String relativeTo)
Constructs a DataField that is not a primary key component.
-
NonStaticDataField
public NonStaticDataField(java.lang.String name, java.lang.String title, DataType type, boolean pk, java.lang.String relativeTo)
Constructs a fully initialized NonStaticDataField.
-
NonStaticDataField
public NonStaticDataField(java.lang.String inName, java.lang.String inTitle, DataType type, boolean pk, java.lang.String relativeTo, boolean displayIdentifier)
-
NonStaticDataField
public NonStaticDataField(NonStaticDataField template, DataType newType)
-
-
Method Detail
-
isPk
public boolean isPk()
-
getRelativeTo
public java.lang.String getRelativeTo()
-
isDisplayIdentifier
public boolean isDisplayIdentifier()
-
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
-
getAdjustmentType
public java.lang.String getAdjustmentType()
-
setAttributes
public void setAttributes(java.util.Hashtable<java.lang.String,java.lang.String> attrs)
- Specified by:
setAttributes
in classDataField
-
getAttributes
public java.util.Hashtable<java.lang.String,java.lang.String> getAttributes()
- Specified by:
getAttributes
in classDataField
-
-