FileDocCategorySizeDatePackage
PrimaryKeyImpl.javaAPI DocExample663Tue Dec 08 01:21:00 GMT 1998oisoft.togetherx.scripts.SQL.impl

PrimaryKeyImpl.java

// Generated by Together
package oisoft.togetherx.scripts.SQL.impl;

import java.util.Enumeration;

import oisoft.togetherx.scripts.SQL.SQLPrimaryKey;
import oisoft.togetherx.scripts.SQL.SQLTable;

class PrimaryKeyImpl implements SQLPrimaryKey {
  private TableImpl myTable;
  private String myName;
  private Enumeration myColumns;

  PrimaryKeyImpl(TableImpl table, Enumeration columns){
    myTable = table;
    myColumns = columns;
  }
  public SQLTable getTable(){
    return myTable;
  }
  public String getName(){
    return myTable.getPrimaryKeyName();
  }
  public Enumeration getColumns(){
    return myColumns;
  }
}