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  
      static String NAME  
      static String VERSION  
      • 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 Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      Date getDate()
      Deprecated.
      String getEvent()
      Deprecated.
      org.gcube.informationsystem.model.reference.properties.Event getTheEvent()
      Actually is not mandatory for backward compatibility.
      void setDate​(Date date)
      Deprecated.
      void setEvent​(String event)
      Deprecated.
      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

      • 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 maintain getEvent() 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