|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalTable
Represents a table in an external data file.
Attributes of ExternalTable are:
Associations of ExternalTable 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(); ExternalTable myObject = (ExternalTable) factory.createComplexMetadataObject(objectStore, "ExternalTable_Object", MetadataObjects.EXTERNALTABLE, "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_OWNINGFILE_NAME
Constant used for the name of the OwningFile association. |
Fields inherited from interface com.sas.metadata.remote.DataTable |
---|
ASSOCIATION_COLUMNS_NAME, ASSOCIATION_FOREIGNKEYS_NAME, ASSOCIATION_ROLES_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_TABLEPACKAGE_NAME, ASSOCIATION_UNIQUEKEYS_NAME, ATTRIBUTE_NUMROWS_NAME, ATTRIBUTE_TABLENAME_NAME |
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 | |
---|---|
File |
getOwningFile()
Gets the File for OwningFile |
AssociationList |
getOwningFiles()
Gets the AssociationList of OwningFiles |
AssociationList |
getOwningFiles(boolean fGoToServer)
Gets the Associationlist of OwningFiles |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningFile |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setOwningFile(File inObject)
Sets the OwningFiles list 0th element to be inObject . |
void |
setOwningFiles(AssociationList list)
Sets the OwningFiles list to be list . |
void |
setOwningFiles(AssociationList list,
int state)
Sets the OwningFiles list to be list . |
Methods inherited from interface com.sas.metadata.remote.DataTable |
---|
getColumns, getColumns, getForeignKeys, getForeignKeys, getNumRows, getNumRowsState, getRoles, getRoles, getTableCollections, getTableCollections, getTableName, getTableNameMaxLength, getTableNameState, getTablePackage, getTablePackages, getTablePackages, getUniqueKeys, getUniqueKeys, setColumns, setColumns, setForeignKeys, setForeignKeys, setNumRows, setNumRows, setNumRows, setNumRows, setNumRowsState, setRoles, setRoles, setTableCollections, setTableCollections, setTableName, setTableName, setTableNameState, setTablePackage, setTablePackages, setTablePackages, setUniqueKeys, setUniqueKeys |
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 ASSOCIATION_OWNINGFILE_NAME
OwningFile: The file that contains the data for an external table.This relationship should not be used to represent SAS datasets. The PhysicalTable object should be used to represent a dataset.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Classifier
initializeRequiredObjects
in interface DataTable
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
OwningFile
initializePredObjects
in interface Classifier
initializePredObjects
in interface DataTable
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOwningFiles() throws java.rmi.RemoteException, MdException
OwningFiles
OwningFiles
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
File getOwningFile() throws java.rmi.RemoteException, MdException
File
for OwningFile
File
( null
if not set) of OwningFile
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 getOwningFiles(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningFiles
fGoToServer
- boolean Get the value from the server.
OwningFiles
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 setOwningFiles(AssociationList list) throws java.rmi.RemoteException
OwningFiles
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningFiles(AssociationList list, int state) throws java.rmi.RemoteException
OwningFiles
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningFile(File inObject) throws java.rmi.RemoteException
OwningFiles
list 0th element to be inObject
.
inObject
- File
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 |