io.sphere.sdk.models.Resource Maven / Gradle / Ivy
package io.sphere.sdk.models;
import java.time.ZonedDateTime;
/**
* A default model is a real resource in SPHERE.IO which can be referenced and always consists of the fields
* id, version, createdAt, lastModifiedAt.
* @param the interface which inherits from this interface, example: {@code interface Category extends Resource}
*
*/
public interface Resource extends ResourceView, Referenceable, Versioned {
@Override
String getId();
@Override
Long getVersion();
@Override
ZonedDateTime getCreatedAt();
@Override
ZonedDateTime getLastModifiedAt();
@Override
Reference toReference();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy