org.glite.security.voms.database
Interface Column


public interface Column

Column descriptor.

Author:
Karoly Lorentey

Field Summary
static int NOT_NULL
          Flags this as a NOT NULL column.
static int PRIMARY_KEY
          Flags this column as a primary key.
 
Method Summary
 java.lang.String getFlavour()
          Return the database flavour that this column belongs to.
 java.lang.String getName()
          Return the name of the column.
 java.lang.String getType()
          Return the database-specific type of the column.
 boolean isSet(int flag)
          Returns true if the given flag is set.
 Column setFlag(int flag)
          Set the given column flag.
 

Field Detail

PRIMARY_KEY

public static final int PRIMARY_KEY
Flags this column as a primary key.

See Also:
Constant Field Values

NOT_NULL

public static final int NOT_NULL
Flags this as a NOT NULL column.

See Also:
Constant Field Values
Method Detail

getFlavour

public java.lang.String getFlavour()
Return the database flavour that this column belongs to.


getName

public java.lang.String getName()
Return the name of the column.


getType

public java.lang.String getType()
Return the database-specific type of the column.


setFlag

public Column setFlag(int flag)
Set the given column flag.

Returns:
the Column object, for chained initialization.

isSet

public boolean isSet(int flag)
Returns true if the given flag is set.