T - the interface which inherits from this interface, example: interface Category extends Resource<Category>public interface Resource<T> extends ResourceView<T,T>, Referenceable<T>, Versioned<T>
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
getCreatedAt() |
String |
getId()
The unique ID of this object.
|
ZonedDateTime |
getLastModifiedAt() |
Long |
getVersion() |
Reference<T> |
toReference()
Creates a reference to this resource, the reference may not be filled.
|
hasSameIdAs, toResourceIdentifierString getId()
IdentifiablegetId in interface Identifiable<T>getId in interface ResourceView<T,T>getId in interface Versioned<T>Long getVersion()
getVersion in interface ResourceView<T,T>getVersion in interface Versioned<T>ZonedDateTime getCreatedAt()
getCreatedAt in interface CreationTimestampedgetCreatedAt in interface ResourceView<T,T>getCreatedAt in interface TimestampedZonedDateTime getLastModifiedAt()
getLastModifiedAt in interface ResourceView<T,T>getLastModifiedAt in interface TimestampedReference<T> toReference()
ReferenceabletoReference in interface Referenceable<T>