// Path: src/com/omtg2sql/omtg/relationships/OMTGGeneralization.java
// public class OMTGGeneralization extends OMTGRelationship {
// 	
// 	private static final String TOTAL = "total";
// 	private static final String PARTIAL = "partial";
// 	private static final String DISJOINT = "disjoint";
// 
// 	/*
// 	 * completeness = (t)/(p) total, partial
// 	 * disjointness = (d)/(o) disjoint, overlapping
// 	 */
// 	private String superClass, disjointness;
// 	private List<String> subclasses;
// 
// 	public OMTGGeneralization(String disjointness, String type, String superClass, List<String> subclasses) {
// 		super("generalization-" + superClass, type, superClass, null);
// 		this.superClass = superClass;
// 		this.disjointness = disjointness;
// 		this.subclasses = subclasses;
// 	}
// 	
// 	public String getSuperClass() {
// 		return superClass;
// 	}
// 
// 	public void setSuperClass(String superClass) {
// 		this.superClass = superClass;
// 	}
// 
// 	public String getDisjointness() {
// 		return disjointness;
// 	}
// 
// 	public void setDisjointness(String disjointness) {
// 		this.disjointness = disjointness;
// 	}
// 
// 	public List<String> getSubclasses() {
// 		return subclasses;
// 	}
// 
// 	public void setSubclasses(List<String> subclasses) {
// 		this.subclasses = subclasses;
// 	}
// 
// 	public static String getTotal() {
// 		return TOTAL;
// 	}
// 
// 	public static String getPartial() {
// 		return PARTIAL;
// 	}
// 
// 	public static String getDisjoint() {
// 		return DISJOINT;
// 	}
// 
// 	public boolean isDisjoint() {
// 		return disjointness.equalsIgnoreCase(DISJOINT);
// 	}
// }
// 
// Path: src/com/omtg2sql/omtg/relationships/OMTGRelationship.java
// public abstract class OMTGRelationship implements Cloneable {
// 
// 	private String name;
// 	private String type;
// 	private String class1, class2;
// 	
// 	public OMTGRelationship(String name, String type, String class1, String class2) {
// 		this.name = name;
// 		this.type = type;
// 		this.class1 = class1;
// 		this.class2 = class2;
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 	
// 	public String getType() {
// 		return type;
// 	}
// 	
// 	public boolean typeEquals(String type) {
// 		return this.type.equalsIgnoreCase(type);
// 	}
// 	
// 	public String getClass1() {
// 		return class1;
// 	}
// 
// 	public void setClass1(String class1) {
// 		this.class1 = class1;
// 	}
// 
// 	public String getClass2() {
// 		return class2;
// 	}
// 
// 	public void setClass2(String class2) {
// 		this.class2 = class2;
// 	}
// 	
// 	public Object clone() throws CloneNotSupportedException {
// 		return super.clone();
// 	}
// }


import java.util.ArrayList;
import java.util.List;
import com.omtg2sql.omtg.relationships.OMTGGeneralization;
import com.omtg2sql.omtg.relationships.OMTGRelationship;

package com.omtg2sql.omtg.classes;




public class OMTGClass implements Cloneable {

	public static final String PLANAR_SUBDIVISION = "planar-subdivision";
	public static final String ISOLINES = "isolines";
	public static final String TESSELATION = "tesselation";
	public static final String TIN = "TIN";

	private String name, type;
	private List<OMTGRelationship> relationships;
	private List<OMTGAttribute> attributes;

// Path: src/com/omtg2sql/omtg/relationships/OMTGGeneralization.java
// public class OMTGGeneralization extends OMTGRelationship {
// 	
// 	private static final String TOTAL = "total";
// 	private static final String PARTIAL = "partial";
// 	private static final String DISJOINT = "disjoint";
// 
// 	/*
// 	 * completeness = (t)/(p) total, partial
// 	 * disjointness = (d)/(o) disjoint, overlapping
// 	 */
// 	private String superClass, disjointness;
// 	private List<String> subclasses;
// 
// 	public OMTGGeneralization(String disjointness, String type, String superClass, List<String> subclasses) {
// 		super("generalization-" + superClass, type, superClass, null);
// 		this.superClass = superClass;
// 		this.disjointness = disjointness;
// 		this.subclasses = subclasses;
// 	}
// 	
// 	public String getSuperClass() {
// 		return superClass;
// 	}
// 
// 	public void setSuperClass(String superClass) {
// 		this.superClass = superClass;
// 	}
// 
// 	public String getDisjointness() {
// 		return disjointness;
// 	}
// 
// 	public void setDisjointness(String disjointness) {
// 		this.disjointness = disjointness;
// 	}
// 
// 	public List<String> getSubclasses() {
// 		return subclasses;
// 	}
// 
// 	public void setSubclasses(List<String> subclasses) {
// 		this.subclasses = subclasses;
// 	}
// 
// 	public static String getTotal() {
// 		return TOTAL;
// 	}
// 
// 	public static String getPartial() {
// 		return PARTIAL;
// 	}
// 
// 	public static String getDisjoint() {
// 		return DISJOINT;
// 	}
// 
// 	public boolean isDisjoint() {
// 		return disjointness.equalsIgnoreCase(DISJOINT);
// 	}
// }
// 
// Path: src/com/omtg2sql/omtg/relationships/OMTGRelationship.java
// public abstract class OMTGRelationship implements Cloneable {
// 
// 	private String name;
// 	private String type;
// 	private String class1, class2;
// 	
// 	public OMTGRelationship(String name, String type, String class1, String class2) {
// 		this.name = name;
// 		this.type = type;
// 		this.class1 = class1;
// 		this.class2 = class2;
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 	
// 	public String getType() {
// 		return type;
// 	}
// 	
// 	public boolean typeEquals(String type) {
// 		return this.type.equalsIgnoreCase(type);
// 	}
// 	
// 	public String getClass1() {
// 		return class1;
// 	}
// 
// 	public void setClass1(String class1) {
// 		this.class1 = class1;
// 	}
// 
// 	public String getClass2() {
// 		return class2;
// 	}
// 
// 	public void setClass2(String class2) {
// 		this.class2 = class2;
// 	}
// 	
// 	public Object clone() throws CloneNotSupportedException {
// 		return super.clone();
// 	}
// }


// Path: src/com/omtg2sql/omtg/classes/OMTGClass.java
import java.util.ArrayList;
import java.util.List;
import com.omtg2sql.omtg.relationships.OMTGGeneralization;
import com.omtg2sql.omtg.relationships.OMTGRelationship;

package com.omtg2sql.omtg.classes;




public class OMTGClass implements Cloneable {

	public static final String PLANAR_SUBDIVISION = "planar-subdivision";
	public static final String ISOLINES = "isolines";
	public static final String TESSELATION = "tesselation";
	public static final String TIN = "TIN";

	private String name, type;
	private List<OMTGRelationship> relationships;
	private List<OMTGAttribute> attributes;

	private OMTGGeneralization generalization;
