public class EventV1<R extends ResourceV1> extends Object
| Constructor and Description |
|---|
EventV1() |
EventV1(String type,
Class<? extends EventV1> schema,
String streamPosition,
String principal,
R resource) |
EventV1(String type,
String principal,
R resource) |
EventV1(String type,
String streamPosition,
String principal,
R resource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPrincipal() |
R |
getResource() |
String |
getSchema() |
String |
getStreamPosition() |
String |
getType() |
int |
hashCode() |
void |
setPrincipal(String principal) |
void |
setResource(R resource) |
void |
setSchema(String schema) |
void |
setStreamPosition(String streamPosition) |
void |
setType(String type) |
String |
toString() |
public String getSchema()
public void setSchema(String schema)
public void setType(String type)
public String getType()
public String getStreamPosition()
public void setStreamPosition(String streamPosition)
public void setPrincipal(String principal)
public String getPrincipal()
public void setResource(R resource)
public R getResource()
Copyright © 2019. All rights reserved.