|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.objects.metadata.DBMetaAttribute
Database MetaData Attributes
Constructor Summary | |
DBMetaAttribute()
Creates a new instance of DBMetaAttribute |
|
DBMetaAttribute(java.lang.String tablename,
java.lang.String[] pk,
java.lang.String[] fk,
java.lang.String[] ptablenames)
creates a new instance of DBMetaAttribute by table name, array of pk, array fk, array of parent tables |
Method Summary | |
java.lang.String[] |
getForeignKeys()
Getter for ForeignKeys attribute of the DBMetaAttribute object |
java.lang.String[] |
getParentTableNames()
Getter for ParentTableNames attribute of the DBMetaAttribute object |
java.lang.String[] |
getPrimaryKeys()
Getter for PrimaryKeys attribute of the DBMetaAttribute object |
java.lang.String |
getTableName()
Getter for TableName attribute of the DBMetaAttribute object |
static void |
main(java.lang.String[] args)
The main program for the DBMetaAttribute class |
void |
setForeignKeys(java.lang.String[] fks)
Setter for ForeignKeys attribute of the DBMetaAttribute object |
void |
setParentTableNames(java.lang.String[] ptablenames)
Setter for ParentTableNames attribute of the DBMetaAttribute object |
void |
setPrimaryKeys(java.lang.String[] pks)
Setter for PrimaryKeys attribute of the DBMetaAttribute object |
void |
setTableName(java.lang.String tablename)
Setter for TableName attribute of the DBMetaAttribute object |
java.lang.String |
toString()
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DBMetaAttribute()
public DBMetaAttribute(java.lang.String tablename, java.lang.String[] pk, java.lang.String[] fk, java.lang.String[] ptablenames)
tablename
- table namepk
- primary keysfk
- foreign keysptablenames
- parent table namesMethod Detail |
public java.lang.String[] getForeignKeys()
public java.lang.String[] getParentTableNames()
public java.lang.String[] getPrimaryKeys()
public java.lang.String getTableName()
public static void main(java.lang.String[] args)
args
- The command line argumentspublic void setForeignKeys(java.lang.String[] fks)
fks
- foreign keyspublic void setParentTableNames(java.lang.String[] ptablenames)
ptablenames
- parent table namespublic void setPrimaryKeys(java.lang.String[] pks)
pks
- primary keyspublic void setTableName(java.lang.String tablename)
tablename
- table namepublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.