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.Facet
    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 HostingNode), 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 String NAME  
      • 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
      • 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
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getClockSpeed()  
      String getModel()  
      String getVendor()  
      void setClockSpeed​(String clockSpeed)  
      void setModel​(String model)  
      void setVendor​(String vendor)  
      • 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
    • 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)