de.escalon.hypermedia.spring.siren.AbstractSirenEntity Maven / Gradle / Ivy
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;
}
}