Class Operation

All Implemented Interfaces:
Serializable, Cloneable

public class Operation extends DataBaseObject
The Class Operation.
See Also:
  • Field Details

    • OPE_COMMENT

      protected String OPE_COMMENT
      The ope comment.
    • OPE_NAME

      protected String OPE_NAME
      The ope name.
    • OPE_VALIDITY

      protected int OPE_VALIDITY
      The ope validity.
  • Constructor Details

    • Operation

      public Operation()
      Instantiates a new operation.
    • Operation

      public Operation(String name)
      Instantiates a new operation.
      Parameters:
      name - the name
  • Method Details

    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • setComment

      public void setComment(String param)
      Sets the comment.
      Parameters:
      param - the new comment
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String param)
      Sets the name.
      Parameters:
      param - the new name
    • getValidity

      public int getValidity()
      Gets the validity.
      Returns:
      the validity
    • setValidity

      public void setValidity(int param)
      Sets the validity.
      Parameters:
      param - the new validity
    • setValidity

      public void setValidity(String param)
      Sets the validity.
      Parameters:
      param - the new validity
    • hashCode

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

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