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

com.theoryinpractise.halbuilder.api.Representation Maven / Gradle / Ivy

The newest version!
package com.theoryinpractise.halbuilder.api;

import java.net.URI;
import javax.annotation.Nullable;

public interface Representation extends ReadableRepresentation {

  Representation withLink(String rel, String href);

  Representation withLink(String rel, URI uri);

  Representation withLink(String rel, String href, String name, String title, String hreflang, String profile);

  Representation withProperty(String name, @Nullable Object value);

  Representation withBean(Object value);

  Representation withFields(Object value);

  Representation withRepresentable(Representable representable);

  Representation withFieldBasedRepresentation(String rel, String href, Object o);

  Representation withBeanBasedRepresentation(String rel, String href, Object o);

  Representation withNamespace(String namespace, String href);

  Representation withRepresentation(String rel, ReadableRepresentation resource);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy