Class JsonDasuDao

java.lang.Object
org.eso.ias.cdb.structuredtext.pojos.JsonDasuDao

public class JsonDasuDao extends Object
Pojo for JSON that replaces object inclusion with their IDS.
Author:
acaproni
See Also:
  • Constructor Details

    • JsonDasuDao

      public JsonDasuDao(DasuDao dasu)
      Constructor
      Parameters:
      dasu - The rdb pojo to mask
    • JsonDasuDao

      public JsonDasuDao()
      Empty constructor
  • Method Details

    • getLogLevel

      public LogLevelDao getLogLevel()
      Return the log level of the DASU
      Returns:
      The log level of teh DASU
      See Also:
    • setLogLevel

      public void setLogLevel(LogLevelDao logLevel)
      Set the log level
      Parameters:
      logLevel - The log level to set
      See Also:
    • getId

      public String getId()
      Get the ID of the DASU
      Returns:
      the ID of the DASU
      See Also:
    • setId

      public void setId(String id)
      Set the ID of the DASU
      Parameters:
      id - the ID of the DASU
      See Also:
    • getAsceIDs

      public Set<String> getAsceIDs()
      Get the IDs of the ASCEs running in this DASU
      Returns:
      the IDs of the ASCEs
      See Also:
    • setAsceIDs

      public void setAsceIDs(Set<String> ids)
      Set the IDs of the ASCEs running in this DASU
      Parameters:
      ids - the IDs of the ASCEs running in this DASU
    • toString

      public String toString()
      toString() prints a human readable version of the DASU where linked objects (like ASCES) are represented by their IDs only.
      Overrides:
      toString in class Object
    • toDasuDao

      public DasuDao toDasuDao()
      Returns:
      the DasuDao encapsulated in this object.
    • getOutputId

      public String getOutputId()
    • setOutputId

      public void setOutputId(String outputId)
    • getTemplateId

      public String getTemplateId()
    • setTemplateId

      public void setTemplateId(String templateId)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object