Interface HasPersistentMemory<Out extends org.gcube.informationsystem.model.reference.entities.Resource,​In extends MemoryFacet>

  • All Superinterfaces:
    org.gcube.informationsystem.model.reference.relations.ConsistsOf<Out,​In>, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.model.reference.ERElement, HasMemory<Out,​In>, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.model.reference.relations.Relation<Out,​In>, org.gcube.informationsystem.base.reference.relations.RelationElement<Out,​In>, org.gcube.informationsystem.base.reference.SchemaMixedElement, Serializable
    All Known Implementing Classes:
    HasPersistentMemoryImpl

    @TypeMetadata(name="HasPersistentMemory",
                  description="HasPersistentMemory indicates that the target {@link MemoryFacet} indicates a non-volatile  memory, i.e., a memory which does not lose the data when the device is powered down. This type of memory is also known as secondary memory, external memory, auxiliary storage, or secondary storage. Of course more than one MemoryFacet related with HasPersistentMemory can be attached to the same resource, but actually from an infrastructure management point of view, we did not find any reason to further specialise the HasPersistentMemory relation. Anyway, we do not exclude other specialisation required by services to select the appropriated persistent memory better. For example, to discriminate between Solid State Disk and Magnetic Rotative.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface HasPersistentMemory<Out extends org.gcube.informationsystem.model.reference.entities.Resource,​In extends MemoryFacet>
    extends HasMemory<Out,​In>
    HasPersistentMemory indicates that the target MemoryFacet indicates a non-volatile memory, i.e., a memory which does not lose the data when the device is powered down. This type of memory is also known as secondary memory, external memory, auxiliary storage, or secondary storage. Of course more than one MemoryFacet related with HasPersistentMemory can be attached to the same resource, but actually from an infrastructure management point of view, we did not find any reason to further specialise the HasPersistentMemory relation. Anyway, we do not exclude other specialisation required by services to select the appropriated persistent memory better. For example, to discriminate between Solid State Disk and Magnetic Rotative. https://wiki.gcube-system.org/gcube/GCube_Model#HasPersistentMemory
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      The name associated with this relation
      • 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
      • Fields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation

        PROPAGATION_CONSTRAINT_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement

        SOURCE_PROPERTY, TARGET_PROPERTY
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <Out extends org.gcube.informationsystem.model.reference.entities.Resource,​In extends MemoryFacet>
      HasPersistentMemory<Out,​In>
      getDefaultInstance​(Out out, In in)
      Returns a default instance of HasPersistentMemory
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Element

        getTypeName
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

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

        getExpectedtype, getSupertypes
      • Methods inherited from interface org.gcube.informationsystem.model.reference.relations.Relation

        getAdditionalProperties, getAdditionalProperty, getPropagationConstraint, getSource, getTarget, setAdditionalProperties, setAdditionalProperty, setPropagationConstraint, setSource, setTarget
      • Methods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement

        getID, getMetadata, setID, setMetadata
    • Method Detail

      • getDefaultInstance

        static <Out extends org.gcube.informationsystem.model.reference.entities.Resource,​In extends MemoryFacetHasPersistentMemory<Out,​In> getDefaultInstance​(Out out,
                                                                                                                                                                             In in)
        Returns a default instance of HasPersistentMemory
        Type Parameters:
        Out - the source Resource
        In - the target MemoryFacet
        Parameters:
        out - the source Resource instance
        in - the target MemoryFacet instance
        Returns:
        a default instance of HasPersistentMemory