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

com.theoryinpractise.halbuilder.spi.Resource Maven / Gradle / Ivy

package com.theoryinpractise.halbuilder.spi;

import java.net.URI;

import com.google.common.base.Optional;
import com.google.common.base.Predicate;

public interface Resource extends ReadableResource {

    Resource withLink(String href, String rel);

    Resource withLink(URI uri, String rel);

    Resource withLink(String href, String rel, Predicate predicate);

    Resource withLink(URI uri, String rel, Predicate predicate);

    Resource withLink(String href, String rel, Optional> predicate, Optional name, Optional title, Optional hreflang);

    Resource withLink(URI uri, String rel, Optional> predicate, Optional name, Optional title, Optional hreflang);

    Resource withProperty(String name, Object value);

    Resource withBean(Object value);

    Resource withFields(Object value);

    Resource withSerializable(Serializable serializable);

    Resource withFieldBasedSubresource(String rel, String href, Object o);

    Resource withBeanBasedSubresource(String rel, String href, Object o);

    Resource withNamespace(String namespace, String url);

    Resource withSubresource(String rel, Resource resource);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy