gcube-model/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/EventFacetImpl.java

69 lines
1.2 KiB
Java

/**
*
*/
package org.gcube.resourcemanagement.model.impl.entities.facets;
import java.net.URI;
import java.util.Date;
import org.gcube.com.fasterxml.jackson.annotation.JsonTypeName;
import org.gcube.informationsystem.model.impl.entities.FacetImpl;
import org.gcube.resourcemanagement.model.reference.entities.facets.EventFacet;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@JsonTypeName(value=EventFacet.NAME)
public class EventFacetImpl extends FacetImpl implements EventFacet {
/**
* Generated Serial version UID
*/
private static final long serialVersionUID = -4130548762073254058L;
protected Date date;
protected String value;
protected URI schema;
public Date getDate(){
return this.date;
}
public void setDate(Date date) {
this.date = date;
}
/**
* @return the value
*/
@Override
public String getValue() {
return value;
}
/**
* @param value the value to set
*/
@Override
public void setValue(String value) {
this.value = value;
}
/**
* @return the schema
*/
@Override
public URI getSchema() {
return schema;
}
/**
* @param schema the schema to set
*/
@Override
public void setSchema(URI schema) {
this.schema = schema;
}
}