Interface MemoryFacet
-
- 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:
MemoryFacetImpl
@TypeMetadata(name="MemoryFacet", description="MemoryFacet captures information on computer memory equipping the resource and its usage. Any resource describing a computing machine must have at least two types of memories i.e., persistent and volatile. For such a reason, it has been identified the ConsistsOf relation called {@link HasMemory}. It is in charge of the specialisation {@link HasVolatileMemory} and {@link HasPersistentMemory} to clarify the semantics of the memory.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface MemoryFacet extends org.gcube.informationsystem.model.reference.entities.FacetMemoryFacet captures information on computer memory equipping the resource and its usage. Any resource describing a computing machine must have at least two types of memories i.e., persistent and volatile. For such a reason, it has been identified the ConsistsOf relation calledHasMemory. It is in charge of the specialisationHasVolatileMemoryandHasPersistentMemoryto clarify the semantics of the memory. https://wiki.gcube-system.org/gcube/GCube_Model#Memory_Facet- Author:
- Luca Frosini (ISTI - CNR)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMemoryFacet.MemoryUnit
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetSize()MemoryFacet.MemoryUnitgetUnit()longgetUsed()voidsetSize(long size)voidsetUnit(MemoryFacet.MemoryUnit unit)voidsetUsed(long used)-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSize
@ISProperty long getSize()
-
setSize
void setSize(long size)
-
getUsed
@ISProperty long getUsed()
-
setUsed
void setUsed(long used)
-
getUnit
@ISProperty MemoryFacet.MemoryUnit getUnit()
-
setUnit
void setUnit(MemoryFacet.MemoryUnit unit)
-
-