Package deltix.qsrv.hf.pub.md
Class ExtendableClassDescriptor<T extends ExtendableClassDescriptor>
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.NamedDescriptor
-
- deltix.qsrv.hf.pub.md.ClassDescriptor
-
- deltix.qsrv.hf.pub.md.ExtendableClassDescriptor<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClassDescriptor>
- Direct Known Subclasses:
RecordClassDescriptor
public abstract class ExtendableClassDescriptor<T extends ExtendableClassDescriptor> extends ClassDescriptor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class deltix.qsrv.hf.pub.md.ClassDescriptor
ClassDescriptor.GuidNotFoundException, ClassDescriptor.TypeResolver
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.pub.md.ClassDescriptor
ASCENDING_COMPARATOR, ASSEMBLY_SEPARATOR, guid, T_ENUM, T_RECORD
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtendableClassDescriptor()
protected
ExtendableClassDescriptor(ExtendableClassDescriptor<T> from)
protected
ExtendableClassDescriptor(java.lang.Class<?> cls, ClassAnnotator annotator, T inParent)
protected
ExtendableClassDescriptor(java.lang.Class<?> cls, T inParent)
protected
ExtendableClassDescriptor(java.lang.String name, java.lang.String title, boolean isAbstract, T parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getParent()
boolean
isAbstract()
protected void
readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
protected void
readFieldsWithoutGuid(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial)
void
setParent(T parent)
boolean
visitDependencies(deltix.util.collections.Visitor<ClassDescriptor> out)
void
writeTo(java.io.DataOutputStream out, int serial)
-
Methods inherited from class deltix.qsrv.hf.pub.md.ClassDescriptor
compareTo, createGuid, dependsOn, depSort, equals, extractGuids, getClassNameWithAssembly, getDependencies, getGuid, hashCode, isDotNet, isEquals, newInstanceNoX, readFields, readFrom, readFrom, readReference, writeReference
-
Methods inherited from class deltix.qsrv.hf.pub.md.NamedDescriptor
getDescription, getName, getTitle, setDescription
-
-
-
-
Constructor Detail
-
ExtendableClassDescriptor
protected ExtendableClassDescriptor(java.lang.String name, java.lang.String title, boolean isAbstract, T parent)
-
ExtendableClassDescriptor
protected ExtendableClassDescriptor(ExtendableClassDescriptor<T> from)
-
ExtendableClassDescriptor
protected ExtendableClassDescriptor()
-
ExtendableClassDescriptor
protected ExtendableClassDescriptor(java.lang.Class<?> cls, T inParent)
-
ExtendableClassDescriptor
protected ExtendableClassDescriptor(java.lang.Class<?> cls, ClassAnnotator annotator, T inParent)
-
-
Method Detail
-
isAbstract
public boolean isAbstract()
-
getParent
public T getParent()
-
setParent
public void setParent(T parent)
-
visitDependencies
public boolean visitDependencies(deltix.util.collections.Visitor<ClassDescriptor> out)
- Overrides:
visitDependencies
in classClassDescriptor
-
writeTo
public void writeTo(java.io.DataOutputStream out, int serial) throws java.io.IOException
- Overrides:
writeTo
in classClassDescriptor
- Throws:
java.io.IOException
-
readFields
protected void readFields(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial) throws java.io.IOException
- Overrides:
readFields
in classClassDescriptor
- Throws:
java.io.IOException
-
readFieldsWithoutGuid
protected void readFieldsWithoutGuid(java.io.DataInputStream in, ClassDescriptor.TypeResolver resolver, int serial) throws java.io.IOException
- Overrides:
readFieldsWithoutGuid
in classClassDescriptor
- Throws:
java.io.IOException
-
-