39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
|
/**
|
||
|
*
|
||
|
*/
|
||
|
package org.gcube.resourcemanagement.model.reference.entities.facets;
|
||
|
|
||
|
import org.gcube.informationsystem.model.reference.entities.Facet;
|
||
|
import org.gcube.informationsystem.types.annotations.ISProperty;
|
||
|
import org.gcube.resourcemanagement.model.impl.entities.facets.CPUFacetImpl;
|
||
|
|
||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||
|
|
||
|
/**
|
||
|
* @author Luca Frosini (ISTI - CNR)
|
||
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#CPU_Facet
|
||
|
*/
|
||
|
@JsonDeserialize(as=CPUFacetImpl.class)
|
||
|
public interface CPUFacet extends Facet {
|
||
|
|
||
|
public static final String NAME = "CPUFacet"; //CPUFacet.class.getSimpleName();
|
||
|
public static final String DESCRIPTION = "Describes CPU information";
|
||
|
public static final String VERSION = "1.0.0";
|
||
|
|
||
|
@ISProperty(mandatory=true, nullable=false)
|
||
|
public String getModel();
|
||
|
|
||
|
public void setModel(String model);
|
||
|
|
||
|
@ISProperty(mandatory=true, nullable=false)
|
||
|
public String getVendor();
|
||
|
|
||
|
public void setVendor(String vendor);
|
||
|
|
||
|
@ISProperty(mandatory=true, nullable=false)
|
||
|
public String getClockSpeed();
|
||
|
|
||
|
public void setClockSpeed(String clockSpeed);
|
||
|
|
||
|
}
|