Skip to content

Commit

Permalink
Got rid of the isVirtual() crap
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Jun 14, 2005
1 parent c8a52d5 commit f246b70
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions src/net/sourceforge/schemaspy/model/TableColumn.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
package net.sourceforge.schemaspy.model;

import java.io.Serializable;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.io.*;
import java.sql.*;
import java.util.*;

public class TableColumn implements Serializable {
private final Table table;
Expand All @@ -20,7 +13,6 @@ public class TableColumn implements Serializable {
private final String detailedSize;
private final boolean isNullable;
private boolean isAutoUpdated;
private boolean isVirtual;
private final Object defaultValue;
private final Map parents = new HashMap();
private final Map children = new TreeMap(new ColumnComparator());
Expand Down Expand Up @@ -84,10 +76,6 @@ public boolean isAutoUpdated() {
return isAutoUpdated;
}

public boolean isVirtual() {
return isVirtual;
}

public Object getDefaultValue() {
return defaultValue;
}
Expand Down Expand Up @@ -180,10 +168,6 @@ public ForeignKeyConstraint getChildConstraint(TableColumn child) {
return (ForeignKeyConstraint)children.get(child);
}

public String toString() {
return getName();
}

/**
* setIsAutoUpdated
*
Expand All @@ -193,13 +177,8 @@ public void setIsAutoUpdated(boolean isAutoUpdated) {
this.isAutoUpdated = isAutoUpdated;
}

/**
* setIsVirtual
*
* @param virtual boolean
*/
public void setIsVirtual(boolean isVirtual) {
this.isVirtual = isVirtual;
public String toString() {
return getName();
}

private class ColumnComparator implements Comparator, Serializable {
Expand Down

0 comments on commit f246b70

Please sign in to comment.