java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.entities.EntityElementImpl
org.gcube.informationsystem.model.impl.entities.EntityImpl
org.gcube.informationsystem.model.impl.entities.FacetImpl
org.gcube.resourcemanagement.model.impl.entities.facets.CPUFacetImpl
All Implemented Interfaces:
Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.ModelElement, CPUFacet

public class CPUFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements CPUFacet
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected String
     
    protected String
     

    Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

    additionalProperties, allowedAdditionalKeys

    Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

    contexts, expectedtype, supertypes

    Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

    metadata, uuid

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.CPUFacet

    NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, NAME, TYPE_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity

    NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

    NAME

    Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement

    CONTEXTS_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

    NAME

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Clock speed expressed with the unit, e.g., 1 GHz.
    CPU Model
    CPU Vendor
    void
    setClockSpeed(String clockSpeed)
    Sets the clock speed expressed with the unit, e.g., 1 GHz.
    void
    Sets the CPU Model
    void
    setVendor(String vendor)
    Sets the CPU Vendor

    Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

    addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

    Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

    getContexts, getExpectedtype, getSupertypes, setContexts

    Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

    getID, getMetadata, setID, setMetadata

    Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl

    getTypeName, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.gcube.informationsystem.base.reference.Element

    getTypeName

    Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

    getID, getMetadata, setID, setMetadata

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

    getContexts

    Methods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

    getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

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

    getExpectedtype, getSupertypes
  • Field Details

    • model

      protected String model
    • vendor

      protected String vendor
    • clockSpeed

      protected String clockSpeed
  • Constructor Details

    • CPUFacetImpl

      public CPUFacetImpl()
  • Method Details

    • getModel

      public String getModel()
      Description copied from interface: CPUFacet
      CPU Model
      Specified by:
      getModel in interface CPUFacet
      Returns:
      the model
    • setModel

      public void setModel(String model)
      Description copied from interface: CPUFacet
      Sets the CPU Model
      Specified by:
      setModel in interface CPUFacet
      Parameters:
      model - the model
    • getVendor

      public String getVendor()
      Description copied from interface: CPUFacet
      CPU Vendor
      Specified by:
      getVendor in interface CPUFacet
      Returns:
      the vendor
    • setVendor

      public void setVendor(String vendor)
      Description copied from interface: CPUFacet
      Sets the CPU Vendor
      Specified by:
      setVendor in interface CPUFacet
      Parameters:
      vendor - the vendor
    • getClockSpeed

      public String getClockSpeed()
      Description copied from interface: CPUFacet
      Clock speed expressed with the unit, e.g., 1 GHz.
      Specified by:
      getClockSpeed in interface CPUFacet
      Returns:
      the clock speed
    • setClockSpeed

      public void setClockSpeed(String clockSpeed)
      Description copied from interface: CPUFacet
      Sets the clock speed expressed with the unit, e.g., 1 GHz.
      Specified by:
      setClockSpeed in interface CPUFacet
      Parameters:
      clockSpeed - the clock speed