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

      Fields 
      Modifier and Type Field Description
      static String EVENT_PROPERTY
      The name of 'event' property
      static String NAME
      The name associated with this facet
      static String VERSION
      The version associated with this facet
      • 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
      • Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement

        ID_PROPERTY, METADATA_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      static EventFacet getDefaultInstance()
      Returns a default instance of EventFacet
      org.gcube.informationsystem.model.reference.properties.Event getEvent()
      Get the event
      void setEvent​(org.gcube.informationsystem.model.reference.properties.Event event)
      Set the event
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Element

        getTypeName
      • Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

        getID, getMetadata, setID, setMetadata
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

        getContexts
      • Methods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

        getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        getExpectedtype, getSupertypes
    • Method Detail

      • getDefaultInstance

        static EventFacet getDefaultInstance()
        Returns a default instance of EventFacet
        Returns:
        a default instance of EventFacet
      • getEvent

        @ISProperty(name="event",
                    description="The event eventually described by the five W (What, When, Who, Where, Why)",
                    mandatory=true,
                    nullable=false)
        org.gcube.informationsystem.model.reference.properties.Event getEvent()
        Get the event
        Returns:
        the event
      • setEvent

        void setEvent​(org.gcube.informationsystem.model.reference.properties.Event event)
        Set the event
        Parameters:
        event - the event to set