Package deltix.qsrv.hf.pub.md
Class RecordClassSet
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.RecordClassSet
-
- All Implemented Interfaces:
ClassSet<RecordClassDescriptor>
,MetaData<RecordClassDescriptor>
,java.io.Serializable
public class RecordClassSet extends java.lang.Object implements MetaData<RecordClassDescriptor>, java.io.Serializable
Finds all dependent classes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecordClassSet()
Used by JAXBRecordClassSet(RecordClassDescriptor[] topTypes)
RecordClassSet(RecordClassSet copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(java.lang.Runnable l)
void
addClasses(ClassDescriptor... cds)
void
addContentClasses(RecordClassDescriptor... cds)
void
clear()
protected void
copyClasses(RecordClassSet set)
ClassDescriptor
findClass(java.lang.String guid)
DataField
findField(java.lang.String guid, java.lang.String fieldName)
void
fix()
ClassDescriptor
getClassDescriptor(java.lang.String name)
ClassDescriptor[]
getClassDescriptors()
ClassDescriptor[]
getClasses()
RecordClassDescriptor
getContentClass(java.lang.String guid)
RecordClassDescriptor[]
getContentClasses()
int
getNumTopTypes()
RecordClassDescriptor
getTopType(int idx)
RecordClassDescriptor[]
getTopTypes()
void
removeChangeListener(java.lang.Runnable l)
ClassDescriptor[]
selectClassDescriptors(int options, java.lang.String namePattern)
void
set(RecordClassSet set)
void
setClassDescriptors(ClassDescriptor... cds)
-
-
-
Constructor Detail
-
RecordClassSet
public RecordClassSet()
Used by JAXB
-
RecordClassSet
public RecordClassSet(RecordClassSet copy)
-
RecordClassSet
public RecordClassSet(RecordClassDescriptor[] topTypes)
-
-
Method Detail
-
addChangeListener
public void addChangeListener(java.lang.Runnable l)
-
removeChangeListener
public void removeChangeListener(java.lang.Runnable l)
-
getNumTopTypes
public int getNumTopTypes()
-
getTopType
public RecordClassDescriptor getTopType(int idx)
-
getTopTypes
public RecordClassDescriptor[] getTopTypes()
-
clear
public void clear()
-
getContentClass
public RecordClassDescriptor getContentClass(java.lang.String guid)
-
findClass
public ClassDescriptor findClass(java.lang.String guid)
-
getClasses
public ClassDescriptor[] getClasses()
- Specified by:
getClasses
in interfaceClassSet<RecordClassDescriptor>
-
getContentClasses
public RecordClassDescriptor[] getContentClasses()
- Specified by:
getContentClasses
in interfaceClassSet<RecordClassDescriptor>
-
addClasses
public void addClasses(ClassDescriptor... cds)
-
addContentClasses
public void addContentClasses(RecordClassDescriptor... cds) throws DuplicateClassNameException
- Specified by:
addContentClasses
in interfaceClassSet<RecordClassDescriptor>
- Throws:
DuplicateClassNameException
-
set
public void set(RecordClassSet set)
-
setClassDescriptors
public void setClassDescriptors(ClassDescriptor... cds)
- Specified by:
setClassDescriptors
in interfaceMetaData<RecordClassDescriptor>
-
getClassDescriptor
public ClassDescriptor getClassDescriptor(java.lang.String name)
- Specified by:
getClassDescriptor
in interfaceMetaData<RecordClassDescriptor>
-
findField
public DataField findField(java.lang.String guid, java.lang.String fieldName)
-
selectClassDescriptors
public ClassDescriptor[] selectClassDescriptors(int options, java.lang.String namePattern)
- Specified by:
selectClassDescriptors
in interfaceMetaData<RecordClassDescriptor>
-
copyClasses
protected void copyClasses(RecordClassSet set)
-
getClassDescriptors
public ClassDescriptor[] getClassDescriptors()
- Specified by:
getClassDescriptors
in interfaceMetaData<RecordClassDescriptor>
-
fix
public void fix()
-
-