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

de.escalon.hypermedia.spring.siren.AbstractSirenEntity Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package de.escalon.hypermedia.spring.siren;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * All entities that have classes and a title. Created by Dietrich on 17.04.2016.
 */
public abstract class AbstractSirenEntity extends AbstractSirenNode {

    private List sirenClasses;

    AbstractSirenEntity() {

    }

    public AbstractSirenEntity(String title, List sirenClasses) {
        super(title);
        this.sirenClasses = sirenClasses;
    }

    @JsonProperty("class")
    public List getSirenClasses() {
        return sirenClasses;
    }

    public void setSirenClasses(List sirenClasses) {
        this.sirenClasses = sirenClasses;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy