public abstract class ResourceViewImpl<T,O> extends Base implements ResourceView<T,O>
Constructor and Description |
---|
ResourceViewImpl(String id,
Long version,
ZonedDateTime createdAt,
ZonedDateTime lastModifiedAt) |
Modifier and Type | Method and Description |
---|---|
ZonedDateTime |
getCreatedAt() |
String |
getId()
The unique ID of this object.
|
ZonedDateTime |
getLastModifiedAt() |
Long |
getVersion() |
public ResourceViewImpl(String id, Long version, ZonedDateTime createdAt, ZonedDateTime lastModifiedAt)
public String getId()
Identifiable
getId
in interface Identifiable<O>
getId
in interface ResourceView<T,O>
getId
in interface Versioned<O>
public Long getVersion()
getVersion
in interface ResourceView<T,O>
getVersion
in interface Versioned<O>
public ZonedDateTime getCreatedAt()
getCreatedAt
in interface CreationTimestamped
getCreatedAt
in interface ResourceView<T,O>
getCreatedAt
in interface Timestamped
public ZonedDateTime getLastModifiedAt()
getLastModifiedAt
in interface ResourceView<T,O>
getLastModifiedAt
in interface Timestamped