All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.models.Resource Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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