|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnContainerInterface
Both indexes and keys represent a somewhat similar data structure in a sense that they both are column container so it make sense to generalize the functionality around the column handling in a base interface and specialize this functionality in the respective Index and keys interfaces.
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 | |
---|---|
void |
addColumn(ColumnInterface column)
Add a column to the the underneath Key or Index container |
void |
addColumnAt(ColumnInterface column,
int pos)
Add a column to the the underneath Key or Index container at specified position in Column List. |
void |
addColumns(java.util.List<ColumnInterface> column)
Add a column list to the the underneath Key or Index container |
java.util.List<ColumnInterface> |
getColumns()
Get all the columns present in the container |
DataTableInterface |
getOwningTable()
Get the owning table of the underneath key or index container |
void |
removeColumn(ColumnInterface column)
Remove a column from the underneath Key or Index container |
void |
removeColumn(int pos)
Remove a column from the underneath Key or Index container at specified position in Column List. |
void |
removeColumns(java.util.List<ColumnInterface> column)
Remove a column list from the underneath Key or Index container |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
void addColumn(ColumnInterface column) throws ServiceException, java.rmi.RemoteException
column
-
ServiceException
- - 1] If column exist in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.void addColumnAt(ColumnInterface column, int pos) throws ServiceException, java.rmi.RemoteException
column
- pos
-
ServiceException
- - 1] If column exist in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.void addColumns(java.util.List<ColumnInterface> column) throws ServiceException, java.rmi.RemoteException
column
-
ServiceException
- - 1] If column exist in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.void removeColumn(ColumnInterface column) throws ServiceException, java.rmi.RemoteException
column
-
ServiceException
- - 1] If column exist in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.void removeColumn(int pos) throws ServiceException, java.rmi.RemoteException
pos
-
ServiceException
- - 1] If column to remove is the only column in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.void removeColumns(java.util.List<ColumnInterface> column) throws ServiceException, java.rmi.RemoteException
column
-
ServiceException
- - 1] If underneath Key or Index will be empty after removal of columns 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.java.util.List<ColumnInterface> getColumns() throws ServiceException, java.rmi.RemoteException
ServiceException
- - 1] If column to remove is the only column in the underneath Key or Index 2] If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.DataTableInterface getOwningTable() throws ServiceException, java.rmi.RemoteException
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 |