com.sibvisions.rad.persist.jdbc
Class Key

java.lang.Object
  extended by com.sibvisions.rad.persist.jdbc.Key

public class Key
extends Object

It stores all relevant information to a Primary or Unique Key.


Constructor Summary
Key(String pName)
          Construct a Select cache object.
 
Method Summary
 Name[] getColumns()
          Returns the key columns.
 String getName()
          Returns the key name.
 void setColumns(Name[] pColumns)
          Sets the key columns.
 void setName(String pName)
          Sets the key name.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Key

public Key(String pName)
Construct a Select cache object.

Parameters:
pName - The name of key.
Method Detail

toString

public String toString()

Overrides:
toString in class Object

getColumns

public Name[] getColumns()
Returns the key columns.

Returns:
the key columns

setColumns

public void setColumns(Name[] pColumns)
Sets the key columns.

Parameters:
pColumns - the key columns to set

getName

public String getName()
Returns the key name.

Returns:
the key name.

setName

public void setName(String pName)
Sets the key name.

Parameters:
pName - the key name.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.