|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
ForeignKeyInterface |
addForeignKey(java.lang.String name,
RelationalKeyInterface smartUKey)
Add a foreign key to the relational table. |
RelationalKeyInterface |
addPrimaryKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
Add a Primary key to the relational table. |
RelationalKeyInterface |
addUniqueKey(java.lang.String name,
java.util.List<ColumnInterface> listColumn)
Add a Unique key to the relational table. |
java.util.List<ForeignKeyInterface> |
getForeignKeys()
Get the foreign keys associated with the relational table. |
RelationalKeyInterface |
getPrimaryKey()
Get the primary keys associated with the relational table. |
java.util.List<RelationalKeyInterface> |
getUniqueKeys()
Get the unique keys associated with the relational table. |
void |
removeForeignKey(ForeignKeyInterface relationalKey)
Remove a Foreign key from the relational table. |
void |
removePrimaryKey(RelationalKeyInterface relationalKey)
Remove a Primary key from the relational table. |
void |
removeUniqueKey(RelationalKeyInterface relationalKey)
Remove a Unique key from the relational table. |
Methods inherited from interface com.sas.services.information.metadata.DataTableInterface |
---|
addColumn, addColumnAt, addRole, addRole, getColumns, getNumRows, getRoles, getSchema, getTableName, removeColumn, removeColumn, 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 |