Class Permission
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Permission
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe ecu name.protected ECUserThe ecuser.protected StringThe ope name.protected OperationThe operation.protected intThe 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 TypeMethodDescriptionbooleanEquals.Gets the EC user.Gets the EC user name.Gets the operation.Gets the operation name.intGets the validity.inthashCode()Hash code.voidSets the EC user.voidsetECUserName(String param) Sets the EC user name.voidsetOperation(Operation param) Sets the operation.voidsetOperationName(String param) Sets the operation name.voidsetValidity(int param) Sets the validity.voidsetValidity(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
-