|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface RelationalTableInterface
This interface is just a place holder for the table class hierarchy in the meta model. The methods in RelationalTable look arcane to me, so I'm going to skip them until someone asks for them.
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
|---|---|
abstract ForeignKeyInterface |
addForeignKey(java.lang.String name,
RelationalKeyInterface smartUKey)
Add a foreign key to the relational table. |
abstract RelationalKeyInterface |
addPrimaryKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
Add a Primary key to the relational table. |
abstract RelationalKeyInterface |
addUniqueKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
Add a Unique key to the relational table. |
abstract java.util.List<ForeignKeyInterface> |
getForeignKeys()
Get the foreign keys associated with the relational table. |
abstract RelationalKeyInterface |
getPrimaryKey()
Get the primary keys associated with the relational table. |
abstract java.util.List<RelationalKeyInterface> |
getUniqueKeys()
Get the unique keys associated with the relational table. |
abstract void |
removeForeignKey(ForeignKeyInterface relationalKey)
Remove a Foreign key from the relational table. |
abstract void |
removePrimaryKey(RelationalKeyInterface relationalKey)
Remove a Primary key from the relational table. |
abstract void |
removeUniqueKey(RelationalKeyInterface relationalKey)
Remove a Unique key from the relational table. |
| Methods inherited from interface com.sas.services.information.metadata.DataTableInterface |
|---|
addColumn, addColumnAt, addColumnHierarchy, addRole, addRole, getColumnHierarchies, getColumns, getNumRows, getRoles, getSchema, getTableName, removeColumn, removeColumn, removeColumnHierarchy, removeRole, setNumRows, setSchema, setTableName |
| Methods inherited from interface com.sas.services.information.metadata.ClassifierInterface |
|---|
getSourceClassifierMaps, getTargetClassifierMaps |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
ForeignKeyInterface addForeignKey(java.lang.String name,
RelationalKeyInterface smartUKey)
throws ServiceException,
java.rmi.RemoteException
name - is the foreign key name.smartUKey - is the partner unique key.
ServiceException - - 1] If foreign key with the given name exist in the relational table 2] If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
RelationalKeyInterface addUniqueKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
throws ServiceException,
java.rmi.RemoteException
name - is the unique key name.listColumn - is a column list associated with the unique key.
ServiceException - - 1] If Unique key with the given name exist in the relational table 2] If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
RelationalKeyInterface addPrimaryKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
throws ServiceException,
java.rmi.RemoteException
name - is the primary key name.listColumn - is a column list associated with the primary key.
ServiceException - - 1] If primary key already exist in the relational table 2] If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
java.util.List<ForeignKeyInterface> getForeignKeys()
throws ServiceException,
java.rmi.RemoteException
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
java.util.List<RelationalKeyInterface> getUniqueKeys()
throws ServiceException,
java.rmi.RemoteException
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
RelationalKeyInterface getPrimaryKey()
throws ServiceException,
java.rmi.RemoteException
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
void removeForeignKey(ForeignKeyInterface relationalKey)
throws ServiceException,
java.rmi.RemoteException
relationalKey -
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
void removeUniqueKey(RelationalKeyInterface relationalKey)
throws ServiceException,
java.rmi.RemoteException
relationalKey -
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
void removePrimaryKey(RelationalKeyInterface relationalKey)
throws ServiceException,
java.rmi.RemoteException
relationalKey -
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||