Class EcUserBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.ecuser.EcUserBean
All Implemented Interfaces:
OjbImplementedBean, EcUser, ecmwf.web.model.ModelBean

public class EcUserBean extends ecmwf.web.dao.ModelBeanBase implements EcUser, OjbImplementedBean
The Class EcUserBean.
  • Constructor Details

    • EcUserBean

      protected EcUserBean(ECUser u)
      Instantiates a new ec user bean.
      Parameters:
      u - the u
  • Method Details

    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getOjbImplementation

      public DataBaseObject getOjbImplementation()
      Gets the ojb implementation. Gets the ojb implementation.
      Specified by:
      getOjbImplementation in interface OjbImplementedBean
      Returns:
      the ojb implementation
    • getId

      public String getId()
      Gets the id.
      Specified by:
      getId in interface ecmwf.web.model.ModelBean
      Overrides:
      getId in class ecmwf.web.dao.ModelBeanBase
    • getName

      public String getName()
      Gets the name. Gets the name.
      Specified by:
      getName in interface EcUser
      Returns:
      the name
    • getDir

      public String getDir()
      Gets the dir. Gets the dir.
      Specified by:
      getDir in interface EcUser
      Returns:
      the dir
    • getGid

      public long getGid()
      Gets the gid. Gets the gid.
      Specified by:
      getGid in interface EcUser
      Returns:
      the gid
    • getShell

      public String getShell()
      Gets the shell. Gets the shell.
      Specified by:
      getShell in interface EcUser
      Returns:
      the shell
    • getUid

      public long getUid()
      Gets the uid. Gets the uid.
      Specified by:
      getUid in interface EcUser
      Returns:
      the uid
    • getComment

      public String getComment()
      Gets the comment. Gets the comment.
      Specified by:
      getComment in interface EcUser
      Returns:
      the comment
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • equals

      public boolean equals(EcUserBean u)
      Equals.
      Parameters:
      u - the u
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object