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 StringNAMEThe name associated with this facet-
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 Static Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClockSpeed()Clock speed expressed with the unit, e.g., 1 GHz.static CPUFacetgetDefaultInstance()Returns a default instance of CPUFacetStringgetModel()CPU ModelStringgetVendor()CPU VendorvoidsetClockSpeed(String clockSpeed)Sets the clock speed expressed with the unit, e.g., 1 GHz.voidsetModel(String model)Sets the CPU ModelvoidsetVendor(String vendor)Sets the CPU Vendor-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name associated with this facet- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
static CPUFacet getDefaultInstance()
Returns a default instance of CPUFacet- Returns:
- a default instance of CPUFacet
-
getModel
@ISProperty(description="CPU Model", mandatory=true, nullable=false) String getModel()CPU Model- Returns:
- the model
-
setModel
void setModel(String model)
Sets the CPU Model- Parameters:
model- the model
-
getVendor
@ISProperty(description="CPU Vendor", mandatory=true, nullable=false) String getVendor()CPU Vendor- Returns:
- the vendor
-
setVendor
void setVendor(String vendor)
Sets the CPU Vendor- Parameters:
vendor- the vendor
-
getClockSpeed
@ISProperty(description="Clock speed expressed with the unit, e.g., 1 GHz.", mandatory=true, nullable=false) String getClockSpeed()Clock speed expressed with the unit, e.g., 1 GHz.- Returns:
- the clock speed
-
setClockSpeed
void setClockSpeed(String clockSpeed)
Sets the clock speed expressed with the unit, e.g., 1 GHz.- Parameters:
clockSpeed- the clock speed
-
-