Package deltix.qsrv.hf.tickdb.schema
Class ClassDescriptorChange
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.schema.ClassDescriptorChange
-
- All Implemented Interfaces:
SchemaChange
public class ClassDescriptorChange extends java.lang.Object implements SchemaChange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface deltix.qsrv.hf.tickdb.schema.SchemaChange
SchemaChange.Impact
-
-
Field Summary
Fields Modifier and Type Field Description protected SchemaChange.Impact
defaultImpact
protected AbstractFieldChange[]
fieldChanges
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassDescriptorChange()
ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target)
ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target, AbstractFieldChange[] fieldChanges)
ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target, SchemaChange.Impact defaultImpact)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaChange.Impact
getChangeImpact()
SchemaChange.Impact
getChangeImpact(SchemaMapping mapping)
static SchemaChange.Impact
getChangeImpact(java.util.List<AbstractFieldChange> changes)
AbstractFieldChange[]
getChanges()
AbstractFieldChange[]
getFieldChanges(DataField source, DataField target)
ClassDescriptor
getSource()
java.lang.String
getSourceId()
ClassDescriptor
getTarget()
java.lang.String
getTargetId()
void
setImpact(SchemaChange.Impact impact)
void
setSourceId(java.lang.String sourceId)
void
setTargetId(java.lang.String targetId)
java.lang.String
toString()
-
-
-
Field Detail
-
defaultImpact
protected SchemaChange.Impact defaultImpact
-
fieldChanges
protected AbstractFieldChange[] fieldChanges
-
-
Constructor Detail
-
ClassDescriptorChange
protected ClassDescriptorChange()
-
ClassDescriptorChange
public ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target, SchemaChange.Impact defaultImpact)
-
ClassDescriptorChange
public ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target)
-
ClassDescriptorChange
public ClassDescriptorChange(ClassDescriptor source, ClassDescriptor target, AbstractFieldChange[] fieldChanges)
-
-
Method Detail
-
getChanges
public AbstractFieldChange[] getChanges()
-
setImpact
public void setImpact(SchemaChange.Impact impact)
-
getChangeImpact
public SchemaChange.Impact getChangeImpact()
- Specified by:
getChangeImpact
in interfaceSchemaChange
-
getChangeImpact
public SchemaChange.Impact getChangeImpact(SchemaMapping mapping)
-
getChangeImpact
public static SchemaChange.Impact getChangeImpact(java.util.List<AbstractFieldChange> changes)
-
getFieldChanges
public AbstractFieldChange[] getFieldChanges(DataField source, DataField target)
-
getSourceId
public java.lang.String getSourceId()
-
setSourceId
public void setSourceId(java.lang.String sourceId)
-
getTargetId
public java.lang.String getTargetId()
-
setTargetId
public void setTargetId(java.lang.String targetId)
-
getSource
public ClassDescriptor getSource()
-
getTarget
public ClassDescriptor getTarget()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-