Class PerunBean

java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
All Implemented Interfaces:
Serializable, Comparable<PerunBean>
Direct Known Subclasses:
Auditable, Author, Authorship, Category, Publication, PublicationSystem, TaskResult, Thanks

public abstract class PerunBean extends Object implements Comparable<PerunBean>, Serializable
Basic class. All beans (entitties) in Perun must extends this class.
Author:
Slavek Licehammer glory@ics.muni.cz
See Also:
Serialized Form
  • Constructor Details

    • PerunBean

      public PerunBean()
    • PerunBean

      public PerunBean(int id)
  • Method Details

    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getBeanName

      public String getBeanName()
      Returns bean name like VO, Member, Resource,...
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public String serializeToString()
    • equals

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

      public int compareTo(PerunBean o)
      Specified by:
      compareTo in interface Comparable<PerunBean>