|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DataTable
An abstract type that represents an object that contains a set of columns. When creating metadata, use the subtype of DataTable that best describes the entity that you want to represent.
Attributes of DataTable are:
Associations of DataTable are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); DataTable myObject = (DataTable) factory.createComplexMetadataObject(objectStore, "DataTable_Object", MetadataObjects.DATATABLE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_COLUMNHIERARCHIES_NAME
Constant used for the name of the ColumnHierarchies association. |
static java.lang.String |
ASSOCIATION_COLUMNS_NAME
Constant used for the name of the Columns association. |
static java.lang.String |
ASSOCIATION_FOREIGNKEYS_NAME
Constant used for the name of the ForeignKeys association. |
static java.lang.String |
ASSOCIATION_ROLES_NAME
Constant used for the name of the Roles association. |
static java.lang.String |
ASSOCIATION_TABLECOLLECTIONS_NAME
Constant used for the name of the TableCollections association. |
static java.lang.String |
ASSOCIATION_TABLEPACKAGE_NAME
Constant used for the name of the TablePackage association. |
static java.lang.String |
ASSOCIATION_UNIQUEKEYS_NAME
Constant used for the name of the UniqueKeys association. |
static java.lang.String |
ATTRIBUTE_NUMROWS_NAME
Constant used for the name of the NumRows attribute. |
static java.lang.String |
ATTRIBUTE_TABLENAME_NAME
Constant used for the name of the TableName attribute. |
| Fields inherited from interface com.sas.metadata.remote.Classifier |
|---|
ASSOCIATION_SOURCECLASSIFIERMAPS_NAME, ASSOCIATION_TARGETCLASSIFIERMAPS_NAME |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract AssociationList |
getColumnHierarchies()
Gets the AssociationList of ColumnHierarchies |
abstract AssociationList |
getColumnHierarchies(boolean fGoToServer)
Gets the Associationlist of ColumnHierarchies |
abstract AssociationList |
getColumns()
Gets the AssociationList of Columns |
abstract AssociationList |
getColumns(boolean fGoToServer)
Gets the Associationlist of Columns |
abstract AssociationList |
getForeignKeys()
Gets the AssociationList of ForeignKeys |
abstract AssociationList |
getForeignKeys(boolean fGoToServer)
Gets the Associationlist of ForeignKeys |
abstract double |
getNumRows()
Gets the double value of NumRows |
abstract int |
getNumRowsState()
Gets the Metadata State of NumRows |
abstract AssociationList |
getRoles()
Gets the Association list of Roles |
abstract AssociationList |
getRoles(boolean fGoToServer)
Gets the Associationlist of Roles |
abstract AssociationList |
getTableCollections()
Gets the Association list of TableCollections |
abstract AssociationList |
getTableCollections(boolean fGoToServer)
Gets the Associationlist of TableCollections |
abstract java.lang.String |
getTableName()
Gets the String value of TableName |
abstract int |
getTableNameMaxLength()
Gets the maximum length of TableName |
abstract int |
getTableNameState()
Gets the Metadata State of TableName |
abstract RelationalSchema |
getTablePackage()
Gets the RelationalSchema for TablePackage |
abstract AssociationList |
getTablePackages()
Gets the AssociationList of TablePackages |
abstract AssociationList |
getTablePackages(boolean fGoToServer)
Gets the Associationlist of TablePackages |
abstract AssociationList |
getUniqueKeys()
Gets the AssociationList of UniqueKeys |
abstract AssociationList |
getUniqueKeys(boolean fGoToServer)
Gets the Associationlist of UniqueKeys |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ColumnHierarchiesColumnsForeignKeysTablePackageUniqueKeys |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setColumnHierarchies(AssociationList list)
Sets the ColumnHierarchies list to be list. |
abstract void |
setColumnHierarchies(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setColumns(AssociationList list)
Sets the Columns list to be list. |
abstract void |
setColumns(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setForeignKeys(AssociationList list)
Sets the ForeignKeys list to be list. |
abstract void |
setForeignKeys(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setNumRows(double inNumRows)
Sets the NumRows value and sets the state to MetadataState.LOCAL. |
abstract void |
setNumRows(double inNumRows,
int state)
Sets the NumRows Metadata State. |
abstract void |
setNumRows(java.lang.String inNumRows)
Sets the NumRows value and sets the state to MetadataState.LOCAL |
abstract void |
setNumRows(java.lang.String inNumRows,
int state)
Sets the NumRows value and Metadata State. |
abstract void |
setNumRowsState(int state)
Sets the Metadata State of NumRows. |
abstract void |
setRoles(AssociationList list)
Sets the Roles list to be list. |
abstract void |
setRoles(AssociationList inObjects,
int state)
Sets the entire Roles list to match the passed in AssociationList, sets the state of the Roles |
abstract void |
setTableCollections(AssociationList list)
Sets the TableCollections list to be list. |
abstract void |
setTableCollections(AssociationList inObjects,
int state)
Sets the entire TableCollections list to match the passed in AssociationList, sets the state of the TableCollections |
abstract void |
setTableName(java.lang.String inTableName)
Sets the TableName value and sets the state to MetadataState.LOCAL. |
abstract void |
setTableName(java.lang.String inTableName,
int state)
Sets the TableName Metadata State. |
abstract void |
setTableNameState(int state)
Sets the Metadata State of TableName. |
abstract void |
setTablePackage(RelationalSchema inObject)
Sets the TablePackages list 0th element to be inObject. |
abstract void |
setTablePackages(AssociationList list)
Sets the TablePackages list to be list. |
abstract void |
setTablePackages(AssociationList list,
int state)
Sets the TablePackages list to be list. |
abstract void |
setUniqueKeys(AssociationList list)
Sets the UniqueKeys list to be list. |
abstract void |
setUniqueKeys(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
| Methods inherited from interface com.sas.metadata.remote.Classifier |
|---|
getSourceClassifierMaps, getSourceClassifierMaps, getTargetClassifierMaps, getTargetClassifierMaps, setSourceClassifierMaps, setSourceClassifierMaps, setTargetClassifierMaps, setTargetClassifierMaps |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_TABLENAME_NAME
TableName: This is the DBMS name for tables in an external database or the SAS dataset name.
static final java.lang.String ATTRIBUTE_NUMROWS_NAME
NumRows: This attribute contains the number of rows of data in the table. It can be filled in at data loading time to indicate to the metadata consumers how many rows of data a table has in it. If the number of rows is unknown, then a -1 is returned.
static final java.lang.String ASSOCIATION_COLUMNHIERARCHIES_NAME
ColumnHierarchies: The column hierarchies defined for this table.
static final java.lang.String ASSOCIATION_COLUMNS_NAME
Columns: The list of columns contained in this table.
static final java.lang.String ASSOCIATION_FOREIGNKEYS_NAME
ForeignKeys: The foreign keys associated with a table.
static final java.lang.String ASSOCIATION_TABLEPACKAGE_NAME
TablePackage: The data packages (schema or libraries) that can be used to reference this table.
static final java.lang.String ASSOCIATION_UNIQUEKEYS_NAME
UniqueKeys: The list of unique keys associated with a table.
static final java.lang.String ASSOCIATION_ROLES_NAME
Roles: The roles an object can play.
static final java.lang.String ASSOCIATION_TABLECOLLECTIONS_NAME
TableCollections: The table collections where this data table participates.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface ClassifierinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
ColumnHierarchiesColumnsForeignKeysTablePackageUniqueKeys
initializePredObjects in interface ClassifierinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getTableName()
throws java.rmi.RemoteException
String value of TableName
TableName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTableNameState()
throws java.rmi.RemoteException
TableName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTableNameMaxLength()
throws java.rmi.RemoteException
TableName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
double getNumRows()
throws java.rmi.RemoteException
double value of NumRows
NumRows
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getNumRowsState()
throws java.rmi.RemoteException
NumRows
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getColumnHierarchies()
throws java.rmi.RemoteException,
MdException
ColumnHierarchies
ColumnHierarchies which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getColumns()
throws java.rmi.RemoteException,
MdException
Columns
Columns which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getForeignKeys()
throws java.rmi.RemoteException,
MdException
ForeignKeys
ForeignKeys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTablePackages()
throws java.rmi.RemoteException,
MdException
TablePackages
TablePackages which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
RelationalSchema getTablePackage()
throws java.rmi.RemoteException,
MdException
RelationalSchema for TablePackage
RelationalSchema ( null if not set) of TablePackagewhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getUniqueKeys()
throws java.rmi.RemoteException,
MdException
UniqueKeys
UniqueKeys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getRoles()
throws java.rmi.RemoteException,
MdException
Roles
Roles which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTableCollections()
throws java.rmi.RemoteException,
MdException
TableCollections
TableCollections which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getColumnHierarchies(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ColumnHierarchies
fGoToServer - boolean Get the value from the server.
ColumnHierarchies which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getColumns(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Columns
fGoToServer - boolean Get the value from the server.
Columns which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getForeignKeys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ForeignKeys
fGoToServer - boolean Get the value from the server.
ForeignKeys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTablePackages(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
TablePackages
fGoToServer - boolean Get the value from the server.
TablePackages which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getUniqueKeys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
UniqueKeys
fGoToServer - boolean Get the value from the server.
UniqueKeys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getRoles(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Roles
fGoToServer - boolean Get the value from the server.
Roles which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTableCollections(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
TableCollections
fGoToServer - boolean Get the value from the server.
TableCollections which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setTableName(java.lang.String inTableName)
throws java.rmi.RemoteException
TableName value and sets the state to MetadataState.LOCAL.
inTableName - String
java.rmi.RemoteException - If error communicating with remote object.
void setTableName(java.lang.String inTableName,
int state)
throws java.rmi.RemoteException
TableName Metadata State.
inTableName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTableNameState(int state)
throws java.rmi.RemoteException
TableName.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumRows(double inNumRows)
throws java.rmi.RemoteException
NumRows value and sets the state to MetadataState.LOCAL.
inNumRows - double
java.rmi.RemoteException - If error communicating with remote object.
void setNumRows(double inNumRows,
int state)
throws java.rmi.RemoteException
NumRows Metadata State.
inNumRows - doublestate - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumRows(java.lang.String inNumRows)
throws java.rmi.RemoteException
NumRows value and sets the state to MetadataState.LOCAL
inNumRows - String
java.rmi.RemoteException - If error communicating with remote object.
void setNumRows(java.lang.String inNumRows,
int state)
throws java.rmi.RemoteException
NumRows value and Metadata State.
inNumRows - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumRowsState(int state)
throws java.rmi.RemoteException
NumRows.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setColumnHierarchies(AssociationList list)
throws java.rmi.RemoteException
ColumnHierarchies list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setColumnHierarchies(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setColumns(AssociationList list)
throws java.rmi.RemoteException
Columns list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setColumns(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setForeignKeys(AssociationList list)
throws java.rmi.RemoteException
ForeignKeys list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setForeignKeys(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTablePackages(AssociationList list)
throws java.rmi.RemoteException
TablePackages list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTablePackages(AssociationList list,
int state)
throws java.rmi.RemoteException
TablePackages list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTablePackage(RelationalSchema inObject)
throws java.rmi.RemoteException
TablePackages list 0th element to be inObject.
inObject - RelationalSchema
java.rmi.RemoteException - If error communicating with remote object.
void setUniqueKeys(AssociationList list)
throws java.rmi.RemoteException
UniqueKeys list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setUniqueKeys(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setRoles(AssociationList list)
throws java.rmi.RemoteException
Roles list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setRoles(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTableCollections(AssociationList list)
throws java.rmi.RemoteException
TableCollections list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTableCollections(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||