Class Permission
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Permission
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The ecu name.protected ECUser
The ecuser.protected String
The ope name.protected Operation
The operation.protected int
The per validity.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new permission.Permission
(String ecuserName, String operationName) Instantiates a new permission. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.Gets the EC user.Gets the EC user name.Gets the operation.Gets the operation name.int
Gets the validity.int
hashCode()
Hash code.void
Sets the EC user.void
setECUserName
(String param) Sets the EC user name.void
setOperation
(Operation param) Sets the operation.void
setOperationName
(String param) Sets the operation name.void
setValidity
(int param) Sets the validity.void
setValidity
(String param) Sets the validity.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
ECU_NAME
The ecu name. -
OPE_NAME
The ope name. -
PER_VALIDITY
protected int PER_VALIDITYThe per validity. -
ecuser
The ecuser. -
operation
The operation.
-
-
Constructor Details
-
Permission
public Permission()Instantiates a new permission. -
Permission
-
-
Method Details
-
getECUserName
-
setECUserName
Sets the EC user name.- Parameters:
param
- the new EC user name
-
getOperationName
-
setOperationName
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
-
getECUser
-
setECUser
-
getOperation
-
setOperation
-
hashCode
-
equals
-