com.google.code.siren4j.component.impl.EmbeddedEntityImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siren4j Show documentation
Show all versions of siren4j Show documentation
This is a java library to help with the creation and use of Hypermedia entities as specified by the Siren hypermedia specification. See https://github.com/kevinswiber/siren for more detail on the specification.
package com.google.code.siren4j.component.impl;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.code.siren4j.component.Action;
import com.google.code.siren4j.component.Entity;
import com.google.code.siren4j.component.Link;
/**
* Entity impl class to mark embedded entity and to allow suppressing of
* properties on Jackson serialization.
*
*/
public class EmbeddedEntityImpl extends EntityImpl {
@Override
@JsonIgnore
public Map getProperties() {
return super.getProperties();
}
@Override
@JsonIgnore
public List getEntities() {
return super.getEntities();
}
@Override
@JsonIgnore
public List getLinks() {
return super.getLinks();
}
@Override
@JsonIgnore
public List getActions() {
return super.getActions();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy