Class Permission

java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Permission
All Implemented Interfaces:
Serializable, Cloneable

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

    • ECU_NAME

      protected String ECU_NAME
      The ecu name.
    • OPE_NAME

      protected String OPE_NAME
      The ope name.
    • PER_VALIDITY

      protected int PER_VALIDITY
      The per validity.
    • ecuser

      protected ECUser ecuser
      The ecuser.
    • operation

      protected Operation operation
      The operation.
  • Constructor Details

    • Permission

      public Permission()
      Instantiates a new permission.
    • Permission

      public Permission(String ecuserName, String operationName)
      Instantiates a new permission.
      Parameters:
      ecuserName - the ecuser name
      operationName - the operation name
  • Method Details

    • getECUserName

      public String getECUserName()
      Gets the EC user name.
      Returns:
      the EC user name
    • setECUserName

      public void setECUserName(String param)
      Sets the EC user name.
      Parameters:
      param - the new EC user name
    • getOperationName

      public String getOperationName()
      Gets the operation name.
      Returns:
      the operation name
    • setOperationName

      public void setOperationName(String param)
      Sets the operation name.
      Parameters:
      param - the new operation 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
    • getECUser

      public ECUser getECUser()
      Gets the EC user.
      Returns:
      the EC user
    • setECUser

      public void setECUser(ECUser param)
      Sets the EC user.
      Parameters:
      param - the new EC user
    • getOperation

      public Operation getOperation()
      Gets the operation.
      Returns:
      the operation
    • setOperation

      public void setOperation(Operation param)
      Sets the operation.
      Parameters:
      param - the new operation
    • hashCode

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

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