Package org.graylog2.database
Class PersistedImpl
java.lang.Object
org.graylog2.database.PersistedImpl
- All Implemented Interfaces:
Persisted
- Direct Known Subclasses:
AccessTokenImpl
,IndexFailureImpl
,InputImpl
,MongoDbSession
,NodeImpl
,NotificationImpl
,PreflightConfig
,StreamImpl
,StreamRuleImpl
,SystemMessageImpl
,UserImpl
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
PersistedImpl
(Map<String, Object> fields) protected
PersistedImpl
(org.bson.types.ObjectId id, Map<String, Object> fields) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.graylog2.plugin.database.Persisted
getEmbeddedValidations, getValidations
-
Field Details
-
fields
-
id
protected final org.bson.types.ObjectId id
-
-
Constructor Details
-
PersistedImpl
-
PersistedImpl
-
-
Method Details
-
getObjectId
protected org.bson.types.ObjectId getObjectId() -
getId
-
getFields
-
equals
-
hashCode
public int hashCode() -
toString
-
asMap
-