edu.dlsu.SUMOs.obj.Instance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sigma-component Show documentation
Show all versions of sigma-component Show documentation
Sigma knowledge engineering system is an system for developing, viewing and debugging theories in first
order logic. It works with Knowledge Interchange Format (KIF) and is optimized for the Suggested Upper Merged
Ontology (SUMO) www.ontologyportal.org.
The newest version!
package edu.dlsu.SUMOs.obj;
import java.awt.List;
import java.util.ArrayList;
public class Instance {
private String name;
private ArrayList attributes;
public Instance(String name) {
this.name = name;
attributes = new ArrayList();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ArrayList getAttributes() {
return attributes;
}
public void setAttributes(ArrayList attributes) {
this.attributes = attributes;
}
public void addAttribute(String attribute) {
this.attributes.add(attribute);
}
}