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 [MemoryFacet](type: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 appropriate 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.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USERFields 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_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
PROPAGATION_CONSTRAINT_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
SOURCE_PROPERTY, TARGET_PROPERTY -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <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 HasPersistentMemoryMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedType, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
getAdditionalProperties, getAdditionalProperty, getPropagationConstraint, getSource, getTarget, setAdditionalProperties, setAdditionalProperty, setPropagationConstraint, setSource, setTargetMethods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
getID, getMetadata, setID, setMetadata
-
Field Details
-
NAME
The name associated with this relation- See Also:
-
-
Method Details
-
getDefaultInstance
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- Type Parameters:
Out- the source ResourceIn- the target MemoryFacet- Parameters:
out- the source Resource instancein- the target MemoryFacet instance- Returns:
- a default instance of HasPersistentMemory
-