Class Privileged
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Privileged
- All Implemented Interfaces:
Serializable,Cloneable
ECMWF Product Data Store (OpenECPDS) Project.
- Since:
- 2024-07-01
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe ecu name.protected ECUserThe ecuser.protected intThe not id.protected NotificationThe notification.protected booleanThe prv send.protected booleanThe prv subscribe.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new privileged.Privileged(String ecuserName, int notificationId) Instantiates a new privileged.Privileged(String ecuserName, String notificationId) Instantiates a new privileged. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.Gets the EC user.Gets the EC user name.Gets the notification.intGets the notification id.booleangetSend()Gets the send.booleanGets the subscribe.inthashCode()Hash code.voidSets the EC user.voidsetECUserName(String param) Sets the EC user name.voidsetNotification(Notification param) Sets the notification.voidsetNotificationId(int param) Sets the notification id.voidsetNotificationId(String param) Sets the notification id.voidsetSend(boolean param) Sets the send.voidSets the send.voidsetSubscribe(boolean param) Sets the subscribe.voidsetSubscribe(String param) Sets the subscribe.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. -
NOT_ID
protected int NOT_IDThe not id. -
PRV_SEND
protected boolean PRV_SENDThe prv send. -
PRV_SUBSCRIBE
protected boolean PRV_SUBSCRIBEThe prv subscribe. -
ecuser
The ecuser. -
notification
The notification.
-
-
Constructor Details
-
Privileged
public Privileged()Instantiates a new privileged. -
Privileged
Instantiates a new privileged.- Parameters:
ecuserName- the ecuser namenotificationId- the notification id
-
Privileged
-
-
Method Details
-
getECUserName
-
setECUserName
Sets the EC user name.- Parameters:
param- the new EC user name
-
getNotificationId
public int getNotificationId()Gets the notification id.- Returns:
- the notification id
-
setNotificationId
public void setNotificationId(int param) Sets the notification id.- Parameters:
param- the new notification id
-
setNotificationId
Sets the notification id.- Parameters:
param- the new notification id
-
getSend
public boolean getSend()Gets the send.- Returns:
- the send
-
setSend
public void setSend(boolean param) Sets the send.- Parameters:
param- the new send
-
setSend
-
getSubscribe
public boolean getSubscribe()Gets the subscribe.- Returns:
- the subscribe
-
setSubscribe
public void setSubscribe(boolean param) Sets the subscribe.- Parameters:
param- the new subscribe
-
setSubscribe
-
getECUser
-
setECUser
-
getNotification
-
setNotification
Sets the notification.- Parameters:
param- the new notification
-
hashCode
-
equals
-