de.otto.synapse.edison.state.EntityHalRepresentation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-edison Show documentation
Show all versions of synapse-edison Show documentation
A library used at otto.de to integrate synapse-core with edison-microservice.
The newest version!
package de.otto.synapse.edison.state;
import de.otto.edison.hal.HalRepresentation;
import de.otto.edison.hal.Links;
public class EntityHalRepresentation extends HalRepresentation {
private final Object entity;
public EntityHalRepresentation(final Links links,
final Object entity) {
super(links);
this.entity = entity;
}
public Object getEntity() {
return entity;
}
}