Class DataSetInfo

java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.DataSetInfo

public class DataSetInfo extends LNodeMetaDataEmbedder
A representation of the model object Data Set.

The following features are supported:

See Also:
  • Constructor Details

    • DataSetInfo

      public DataSetInfo(String name)
      Constructor
      Parameters:
      name - input
  • Method Details

    • from

      public static DataSetInfo from(TDataSet tDataSet)
      Convert DataSet object to DataSetInfo object
      Parameters:
      tDataSet - object
      Returns:
      DataSetInfo object value
    • getDataSets

      public static Set<DataSetInfo> getDataSets(AbstractLNAdapter<? extends TAnyLN> lnAdapter)
      Get Set of DataSet from LnAdapter
      Parameters:
      lnAdapter - object LnAdapter
      Returns:
      Set of DataSetInfo
    • addFCDAInfo

      public void addFCDAInfo(FCDAInfo fcdaInfo)
      Add FCDA to FCDA list
      Parameters:
      fcdaInfo - object FCDAInfo containing FCDA datas
    • getFCDAInfos

      public List<FCDAInfo> getFCDAInfos()
      Get FCDA list from DtaSetInfo
      Returns:
      FCDA list
    • setName

      public void setName(String name)
      Set DataSet name
      Parameters:
      name - string DataSet name
    • isValid

      public boolean isValid()
      Check DataSet validity
      Returns:
      validity state