-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added classes to support the definition of hardware constraints.
- Loading branch information
1 parent
bbc976c
commit 6ec6c4a
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
src/main/java/org/hobbit/core/data/HardwareConstraints.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |