fedora.server.utilities
Class ColumnSpec

java.lang.Object
  extended byfedora.server.utilities.ColumnSpec

public class ColumnSpec
extends java.lang.Object

Title: ColumnSpec.java

Description:

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: ColumnSpec.java,v 1.7 2005/01/11 20:06:09 cwilper Exp $
Author:
cwilper@cs.cornell.edu

Constructor Summary
ColumnSpec(java.lang.String name, java.lang.String type, boolean binary, java.lang.String defaultValue, boolean isAutoIncremented, java.lang.String indexName, boolean isUnique, boolean isNotNull, java.lang.String foreignTableName, java.lang.String foreignColumnName, java.lang.String onDeleteAction)
           
 
Method Summary
 boolean getBinary()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getForeignColumnName()
           
 java.lang.String getForeignTableName()
           
 java.lang.String getIndexName()
           
 java.lang.String getName()
           
 java.lang.String getOnDeleteAction()
           
 java.lang.String getType()
           
 boolean isAutoIncremented()
           
 boolean isNotNull()
           
 boolean isUnique()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnSpec

public ColumnSpec(java.lang.String name,
                  java.lang.String type,
                  boolean binary,
                  java.lang.String defaultValue,
                  boolean isAutoIncremented,
                  java.lang.String indexName,
                  boolean isUnique,
                  boolean isNotNull,
                  java.lang.String foreignTableName,
                  java.lang.String foreignColumnName,
                  java.lang.String onDeleteAction)
Method Detail

getName

public java.lang.String getName()

getBinary

public boolean getBinary()

getType

public java.lang.String getType()

getForeignTableName

public java.lang.String getForeignTableName()

getForeignColumnName

public java.lang.String getForeignColumnName()

getOnDeleteAction

public java.lang.String getOnDeleteAction()

isUnique

public boolean isUnique()

isNotNull

public boolean isNotNull()

getIndexName

public java.lang.String getIndexName()

isAutoIncremented

public boolean isAutoIncremented()

getDefaultValue

public java.lang.String getDefaultValue()