Changed DataTime Pattern import due to changes in IS Model
This commit is contained in:
parent
c9642920d9
commit
eee4e46b8d
|
@ -6,7 +6,7 @@ package org.gcube.resourcemanagement.model.reference.entities.facets;
|
|||
import java.net.URI;
|
||||
import java.util.Date;
|
||||
|
||||
import org.gcube.informationsystem.base.reference.ISConstants;
|
||||
import org.gcube.informationsystem.base.reference.Element;
|
||||
import org.gcube.informationsystem.model.reference.entities.Facet;
|
||||
import org.gcube.informationsystem.types.annotations.ISProperty;
|
||||
import org.gcube.resourcemanagement.model.impl.entities.facets.EventFacetImpl;
|
||||
|
@ -25,7 +25,7 @@ public interface EventFacet extends Facet {
|
|||
public static final String DESCRIPTION = "Event Facet";
|
||||
public static final String VERSION = "1.0.0";
|
||||
|
||||
@JsonFormat(shape= JsonFormat.Shape.STRING, pattern = ISConstants.DATETIME_PATTERN)
|
||||
@JsonFormat(shape= JsonFormat.Shape.STRING, pattern = Element.DATETIME_PATTERN)
|
||||
@ISProperty(mandatory=true, nullable=false)
|
||||
public Date getDate();
|
||||
|
||||
|
|
Loading…
Reference in New Issue