Class 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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String clockSpeed
      The CPU clock speed
      protected String model
      The CPU model
      protected String vendor
      The CPU vendor
      • 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
      CPUFacetImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getClockSpeed()
      Clock speed expressed with the unit, e.g., 1 GHz.
      String getModel()
      CPU Model
      String getVendor()
      CPU Vendor
      void setClockSpeed​(String clockSpeed)
      Sets the clock speed expressed with the unit, e.g., 1 GHz.
      void setModel​(String model)
      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 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 Detail

      • model

        protected String model
        The CPU model
      • vendor

        protected String vendor
        The CPU vendor
      • clockSpeed

        protected String clockSpeed
        The CPU clock speed
    • Constructor Detail

      • CPUFacetImpl

        public CPUFacetImpl()
    • Method Detail

      • 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