Interface EventFacet
-
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
EventFacetImpl
@TypeMetadata(name="EventFacet", description="EventFacet captures information on a certain event/happening characterising the life cycle of the resource. Examples of an event are the start time of a virtual machine or the activation time of an electronic service.", version="2.0.0") @Change(version="2.0.0",description="Switching to {@link Event} Property added in the information-system-model") @Change(version="1.0.0",description="First Version") public interface EventFacet extends org.gcube.informationsystem.model.reference.entities.FacetEventFacet captures information on a certain event/happening characterising the life cycle of the resource. Examples of an event are the start time of a virtual machine or the activation time of an electronic service. https://wiki.gcube-system.org/gcube/GCube_Model#Event_Facet- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringEVENT_PROPERTYstatic StringNAMEstatic StringVERSION-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DategetDate()Deprecated.StringgetEvent()Deprecated.org.gcube.informationsystem.model.reference.properties.EventgetTheEvent()Actually is not mandatory for backward compatibility.voidsetDate(Date date)Deprecated.voidsetEvent(String event)Deprecated.voidsetEvent(org.gcube.informationsystem.model.reference.properties.Event event)Set the event-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
VERSION
static final String VERSION
- See Also:
- Constant Field Values
-
EVENT_PROPERTY
static final String EVENT_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDate
@Deprecated Date getDate()
Deprecated.
-
setDate
@Deprecated void setDate(Date date)
Deprecated.
-
getEvent
@Deprecated String getEvent()
Deprecated.
-
setEvent
@Deprecated void setEvent(String event)
Deprecated.
-
getTheEvent
@ISProperty(name="event", type=java.lang.Object.class, description="The event eventually described by the five W (What, When, Who, Where, Why)", mandatory=false, nullable=false) org.gcube.informationsystem.model.reference.properties.Event getTheEvent()Actually is not mandatory for backward compatibility. In the next version this method will be deprecated to and it will be replaced by a method with the following signature public Event getEvent() This is not actually possible because we need to maintaingetEvent()for backward compatibility- Returns:
- the event
-
setEvent
void setEvent(org.gcube.informationsystem.model.reference.properties.Event event)
Set the event- Parameters:
event- the event to set
-
-