Class OperationBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.OperationBean
All Implemented Interfaces:
OjbImplementedBean, Operation, ecmwf.web.model.ModelBean

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

    • OperationBean

      protected OperationBean(Operation operation)
      Instantiates a new operation bean.
      Parameters:
      operation - the operation
  • Method Details

    • getOjbImplementation

      public DataBaseObject getOjbImplementation()
      Gets the ojb implementation. Gets the ojb implementation.
      Specified by:
      getOjbImplementation in interface OjbImplementedBean
      Returns:
      the ojb implementation
    • 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
    • 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 Operation
      Returns:
      the name
    • getComment

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

      public Collection<Operation> getOperations() throws OperationException
      Gets the operations.
      Returns:
      the operations
      Throws:
      OperationException - the operation exception
    • equals

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

      public boolean equals(OperationBean d)
      Equals.
      Parameters:
      d - the d
      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