Interface CPUFacet
-
- 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:
CPUFacetImpl
@TypeMetadata(name="CPUFacet", description="CPUFacet captures information on the Central Processing Unit (CPU) of the resource it is associated with. A resource which needs to indicate a multi-processor/multi-core CPU will consist of more than one CPUFacet. Even if more than one CPUFacet is associated with a resource (i.e., an {@link HostingNode}), we did not find any reason to differentiate the CPUs.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface CPUFacet extends org.gcube.informationsystem.model.reference.entities.FacetCPUFacet captures information on the Central Processing Unit (CPU) of the resource it is associated with. A resource which needs to indicate a multi-processor/multi-core CPU will consist of more than one CPUFacet. Even if more than one CPUFacet is associated with a resource (i.e., anHostingNode), we did not find any reason to differentiate the CPUs. https://wiki.gcube-system.org/gcube/GCube_Model#CPU_Facet- Author:
- Luca Frosini (ISTI - CNR)
-
-
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 StringgetClockSpeed()StringgetModel()StringgetVendor()voidsetClockSpeed(String clockSpeed)voidsetModel(String model)voidsetVendor(String vendor)-
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
-
getModel
@ISProperty(description="CPU Model", mandatory=true, nullable=false) String getModel()
-
setModel
void setModel(String model)
-
getVendor
@ISProperty(description="CPU Vendor", mandatory=true, nullable=false) String getVendor()
-
setVendor
void setVendor(String vendor)
-
getClockSpeed
@ISProperty(description="Clock speed expressed with the unit, e.g., 1 GHz.", mandatory=true, nullable=false) String getClockSpeed()
-
setClockSpeed
void setClockSpeed(String clockSpeed)
-
-