@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class NotificationEvent extends java.lang.Object implements org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<NotificationEvent>
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationEvent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<NotificationEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
NotificationEvent() |
NotificationEvent(long eventId,
int eventTime,
java.lang.String eventType,
java.lang.String message) |
NotificationEvent(NotificationEvent other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(NotificationEvent other) |
NotificationEvent |
deepCopy() |
boolean |
equals(NotificationEvent that) |
boolean |
equals(java.lang.Object that) |
NotificationEvent._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
long |
getEventId() |
int |
getEventTime() |
java.lang.String |
getEventType() |
java.lang.Object |
getFieldValue(NotificationEvent._Fields field) |
java.lang.String |
getMessage() |
java.lang.String |
getMessageFormat() |
java.lang.String |
getTableName() |
int |
hashCode() |
boolean |
isSet(NotificationEvent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventId()
Returns true if field eventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventTime()
Returns true if field eventTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventType()
Returns true if field eventType is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessageFormat()
Returns true if field messageFormat is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setEventId(long eventId) |
void |
setEventIdIsSet(boolean value) |
void |
setEventTime(int eventTime) |
void |
setEventTimeIsSet(boolean value) |
void |
setEventType(java.lang.String eventType) |
void |
setEventTypeIsSet(boolean value) |
void |
setFieldValue(NotificationEvent._Fields field,
java.lang.Object value) |
void |
setMessage(java.lang.String message) |
void |
setMessageFormat(java.lang.String messageFormat) |
void |
setMessageFormatIsSet(boolean value) |
void |
setMessageIsSet(boolean value) |
void |
setTableName(java.lang.String tableName) |
void |
setTableNameIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetEventId() |
void |
unsetEventTime() |
void |
unsetEventType() |
void |
unsetMessage() |
void |
unsetMessageFormat() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<NotificationEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NotificationEvent()
public NotificationEvent(long eventId,
int eventTime,
java.lang.String eventType,
java.lang.String message)
public NotificationEvent(NotificationEvent other)
public NotificationEvent deepCopy()
deepCopy in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public void clear()
clear in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public long getEventId()
public void setEventId(long eventId)
public void unsetEventId()
public boolean isSetEventId()
public void setEventIdIsSet(boolean value)
public int getEventTime()
public void setEventTime(int eventTime)
public void unsetEventTime()
public boolean isSetEventTime()
public void setEventTimeIsSet(boolean value)
public java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
public void unsetEventType()
public boolean isSetEventType()
public void setEventTypeIsSet(boolean value)
public java.lang.String getDbName()
public void setDbName(java.lang.String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public java.lang.String getMessageFormat()
public void setMessageFormat(java.lang.String messageFormat)
public void unsetMessageFormat()
public boolean isSetMessageFormat()
public void setMessageFormatIsSet(boolean value)
public java.lang.String getCatName()
public void setCatName(java.lang.String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(NotificationEvent._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public java.lang.Object getFieldValue(NotificationEvent._Fields field)
getFieldValue in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public boolean isSet(NotificationEvent._Fields field)
isSet in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(NotificationEvent that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(NotificationEvent other)
compareTo in interface java.lang.Comparable<NotificationEvent>public NotificationEvent._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.