Class SupportData

  • All Implemented Interfaces:
    de.dlr.gitlab.fame.communication.transfer.Portable

    public final class SupportData
    extends Object
    implements de.dlr.gitlab.fame.communication.transfer.Portable
    Information on the support policy applicable to the associated RenewablePlantOperator.SetType
    Author:
    Johannes Kochems, Christoph Schimeczek
    • Method Detail

      • addComponentsTo

        public void addComponentsTo​(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
        required for Portables
        Specified by:
        addComponentsTo in interface de.dlr.gitlab.fame.communication.transfer.Portable
      • populate

        public void populate​(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
        required for Portables
        Specified by:
        populate in interface de.dlr.gitlab.fame.communication.transfer.Portable
      • getPolicyOfType

        public <T> T getPolicyOfType​(Class<T> type)
        Returns PolicyItem of requested class type - if types do not match an Exception is thrown
        Type Parameters:
        T - requested type of PolicyItem
        Parameters:
        type - class of requested PolicyItem
        Returns:
        object of requested type of PolicyItem type
        Throws:
        RuntimeException - if contained PolicyItem is of type other than requested type