blob: aed267044a2661552694152e2773b7b54999e6a7 [file] [log] [blame]
package org.javanicus.gsql
public class ForeignKey implements Cloneable {
@Property foreignTable
@Property List references
public ForeignKey() {
references = []
}
public Object clone() { // @todo throws CloneNotSupportedException {
def result = new ForeignKey()
result.foreignTable = foreignTable
result.references = references.clone()
return result
}
}