|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataTableInterface
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 this table. |
void |
addColumnAt(ColumnInterface column,
int index)
Inserts the column at the specified position in this List. |
void |
addRole(DataTableRoleInterface role)
Add a role to the list of roles describing this DataTable. |
void |
addRole(java.lang.String context,
java.lang.String objectRole)
Given the context and object role, create a new Role and add it to the roles for this DataTable. |
java.util.List |
getColumns()
Get the list of columns in this table. |
double |
getNumRows()
Get the number of rows in this table. |
java.util.List |
getRoles()
Get the Roles associated with this DataTable. |
RelationalSchemaInterface |
getSchema()
Get the schema object that this table belongs to. |
java.lang.String |
getTableName()
Get the table name for this data table. |
void |
removeColumn(ColumnInterface column)
Remove a column from this table. |
void |
removeColumn(int pos)
Removes single column from a DataTable. |
void |
removeRole(DataTableRoleInterface role)
Remove a role from the list of roles describing this DataTable. |
void |
setNumRows(double rows)
Set the number of rows in the table. |
void |
setSchema(RelationalSchemaInterface schema)
Set the schema object this table belongs to. |
void |
setTableName(java.lang.String name)
Set the Table name of this table. |
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 |
---|
java.lang.String getTableName() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setTableName(java.lang.String name) throws ServiceException, java.rmi.RemoteException
name
- The new Table name.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.double getNumRows() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumRows(double rows) throws ServiceException, java.rmi.RemoteException
rows
- The number of rows in the table.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getColumns() throws ServiceException, java.rmi.RemoteException
ColumnInterface
objects associated with this table.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addColumn(ColumnInterface column) throws ServiceException, java.rmi.RemoteException
column
- The new column to add.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addColumnAt(ColumnInterface column, int index) throws ServiceException, java.rmi.RemoteException
column
- The column to add to this table.index
- The position in the column list to add the new column.
ServiceException
- 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
- The column to remove.
ServiceException
- 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
- is the index of Smart Column object in column association list.
ServiceException
- If there's a repository error.
java.rmi.RemoteException
- in the event of remote object failure.RelationalSchemaInterface getSchema() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setSchema(RelationalSchemaInterface schema) throws ServiceException, java.rmi.RemoteException
schema
- The schema object this table belongs to.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getRoles() throws ServiceException, java.rmi.RemoteException
DataTableRoleInterface
objects.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addRole(DataTableRoleInterface role) throws ServiceException, java.rmi.RemoteException
role
- A new role to add to this table's roles.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addRole(java.lang.String context, java.lang.String objectRole) throws ServiceException, java.rmi.RemoteException
context
- The context of this table.objectRole
- The object role for this table.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeRole(DataTableRoleInterface role) throws ServiceException, java.rmi.RemoteException
role
- The role to remove.
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 |