Class AsceDao

java.lang.Object
org.eso.ias.cdb.pojos.AsceDao

@Entity public class AsceDao extends Object
The pojo for the ASCE
Author:
acaproni
  • Constructor Details

    • AsceDao

      public AsceDao()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getTransferFunction

      public TransferFunctionDao getTransferFunction()
    • setTransferFunction

      public void setTransferFunction(TransferFunctionDao transferFunction)
    • getOutput

      public IasioDao getOutput()
    • getInputs

      public Collection<IasioDao> getInputs()
    • addInput

      public boolean addInput(IasioDao io, boolean replace)
      Add the passed input
      Parameters:
      io - The IASIO to put in the map
      replace - If true replaces the old IASIO with this one, if already present in the map
      Returns:
      true if the passed IASIO replace an object in the inputs list, false otherwise
    • addTemplatedInstanceInput

      public boolean addTemplatedInstanceInput(TemplateInstanceIasioDao tii, boolean replace)
      Add the passed templated input
      Parameters:
      tii - The not null templated input to add
      replace - If true replaces the old templated input with this one, if already present in the map
      Returns:
      true if the passed templated input has been aded, false otherwise
    • setOutput

      public void setOutput(IasioDao output)
    • getProps

      public Set<PropertyDao> getProps()
    • setDasu

      public void setDasu(DasuDao dasu)
    • getDasu

      public DasuDao getDasu()
    • toString

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

      public Set<String> getIasiosIDs()
    • getTemplateId

      public String getTemplateId()
    • setTemplateId

      public void setTemplateId(String templateId)
    • getTemplatedInstanceInputs

      public Set<TemplateInstanceIasioDao> getTemplatedInstanceInputs()
      Getter
      Returns:
    • setTemplatedInstanceInputs

      public void setTemplatedInstanceInputs(Set<TemplateInstanceIasioDao> templateInstances)
      Setter
      Parameters:
      templateInstances -
    • hashCode

      public int hashCode()
      hashCode is based on unique the ID only.
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      equals check the equality of the members of this object against the one passed in the command line but the checking of included DASU, and IASIOs is limited to their IDs.
      Overrides:
      equals in class Object
      See Also: