Class Service

All Implemented Interfaces:
Serializable, Comparable<PerunBean>
Direct Known Subclasses:
ServiceForGUI

public class Service extends Auditable implements Comparable<PerunBean>
Author:
Michal Prochazka <michalp@ics.muni.cz>, Slavek Licehammer <glory@ics.muni.cz>
See Also:
  • Constructor Details

    • Service

      public Service()
    • Service

      public Service(int id, String name)
    • Service

      public Service(int id, String name, String description)
    • Service

      public Service(int id, String name, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getDelay

      public int getDelay()
    • setDelay

      public void setDelay(int delay)
    • getRecurrence

      public int getRecurrence()
    • setRecurrence

      public void setRecurrence(int recurrence)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getScript

      public String getScript()
    • setScript

      public void setScript(String script)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Auditable
    • serializeToString

      public String serializeToString()
      Overrides:
      serializeToString in class Auditable
    • toString

      public String toString()
      Overrides:
      toString in class Auditable
    • compareTo

      public int compareTo(PerunBean perunBean)
      Specified by:
      compareTo in interface Comparable<PerunBean>
      Overrides:
      compareTo in class PerunBean