Class DataSetsWrapperUnion

All Implemented Interfaces:
IDataSetWrapper, IDataSetsWrapper

public class DataSetsWrapperUnion extends DataSetsWrapperBase<DataCompositionSchemaDataSetUnion>
Wrapper for union data set
  • Constructor Details

    • DataSetsWrapperUnion

      public DataSetsWrapperUnion(DataSets dataSetsPage, DataCompositionSchemaDataSetUnion dataSet)
      Constructor
      Parameters:
      dataSetsPage - data sets page, can't be null
      dataSet - data set, can't be null
  • Method Details

    • init

      public void init()
      Description copied from interface: IDataSetWrapper
      Initialize
      Specified by:
      init in interface IDataSetWrapper
      Overrides:
      init in class DataSetWrapperBase<DataCompositionSchemaDataSetUnion>
    • notifyAddField

      public void notifyAddField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper, IDataSetWrapper.FieldSynonym synonym, IDataSetWrapper.FieldRestriction restriction)
      Notify about field added
      Parameters:
      childDataSetWrapper - notifier child data set, can't be null
      childFieldWrapper - field wrapper, can't be null
      synonym - field synonym, can't be null
      restriction - field restriction, can't be null
    • notifyRemoveField

      public void notifyRemoveField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)
      Notify about field removed
      Parameters:
      childDataSetWrapper - notifier child data set, can't be null
      childFieldWrapper - field wrapper, can't be null
    • notifySetFieldRestriction

      public void notifySetFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)
      Notify about field restriction changed
      Parameters:
      childDataSetWrapper - notifier child data set, can't be null
      childFieldWrapper - field wrapper, can't be null
    • notifyRemoveFieldRestriction

      public void notifyRemoveFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)
      Notify about field restriction removed
      Parameters:
      childDataSetWrapper - notifier child data set, can't be null
      childFieldWrapper - field wrapper, can't be null
    • notifyChangeFields

      public void notifyChangeFields()
      Notify about fields changed
    • addChild

      public void addChild(IDataSetsWrapper dataSetWrapper, boolean moved)
      Add child data set
      Parameters:
      dataSetWrapper - child data set wrapper, can't be null
      moved - whether data set moved
    • removeChild

      public void removeChild(IDataSetsWrapper dataSetsWrapper)
      Remove child data set
      Parameters:
      dataSetsWrapper - child data set wrapper, can't be null