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.Facet
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.
https://wiki.gcube-system.org/gcube/GCube_Model#Event_Facet
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
- See Also:
-
VERSION
- See Also:
-
EVENT_PROPERTY
- See Also:
-
-
Method Details
-
getEvent
@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 getEvent()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
-