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

com.google.code.siren4j.component.impl.EmbeddedEntityImpl Maven / Gradle / Ivy

Go to download

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.

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