From 6ec6c4ae15ff46095e1d2bb8a679b2a05d10440d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20R=C3=B6der?= Date: Sat, 14 Oct 2023 16:26:10 +0200 Subject: [PATCH] Added classes to support the definition of hardware constraints. --- .../hobbit/core/data/HardwareConstraints.java | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/main/java/org/hobbit/core/data/HardwareConstraints.java diff --git a/src/main/java/org/hobbit/core/data/HardwareConstraints.java b/src/main/java/org/hobbit/core/data/HardwareConstraints.java new file mode 100644 index 0000000..ec5bdfa --- /dev/null +++ b/src/main/java/org/hobbit/core/data/HardwareConstraints.java @@ -0,0 +1,57 @@ +package org.hobbit.core.data; + +public class HardwareConstraints { + + protected String iri; + protected String label; + protected long ram; + protected int cpus; + /** + * @return the iri + */ + public String getIri() { + return iri; + } + /** + * @param iri the iri to set + */ + public void setIri(String iri) { + this.iri = iri; + } + /** + * @return the label + */ + public String getLabel() { + return label; + } + /** + * @param label the label to set + */ + public void setLabel(String label) { + this.label = label; + } + /** + * @return the ram + */ + public long getRam() { + return ram; + } + /** + * @param ram the ram to set + */ + public void setRam(long ram) { + this.ram = ram; + } + /** + * @return the cpus + */ + public int getCpus() { + return cpus; + } + /** + * @param cpus the cpus to set + */ + public void setCpus(int cpus) { + this.cpus = cpus; + } +}