|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface RelationalSchema
The abstract type that acts as the supertype for any type that can contain table objects.
Attributes of RelationalSchema are:
Associations of RelationalSchema 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(); RelationalSchema myObject = (RelationalSchema) factory.createComplexMetadataObject(objectStore, "RelationalSchema_Object", MetadataObjects.RELATIONALSCHEMA, "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_SCHEMAPACKAGE_NAME
Constant used for the name of the SchemaPackage association. |
static java.lang.String |
ASSOCIATION_TABLES_NAME
Constant used for the name of the Tables association. |
| Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
|---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_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 DatabaseCatalog |
getSchemaPackage()
Gets the DatabaseCatalog for SchemaPackage |
abstract AssociationList |
getSchemaPackages()
Gets the Association list of SchemaPackages |
abstract AssociationList |
getSchemaPackages(boolean fGoToServer)
Gets the Associationlist of SchemaPackages |
abstract AssociationList |
getTables()
Gets the Association list of Tables |
abstract AssociationList |
getTables(boolean fGoToServer)
Gets the Associationlist of Tables |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setSchemaPackage(DatabaseCatalog inObject)
Sets the SchemaPackages list 0th element to be inObject. |
abstract void |
setSchemaPackages(AssociationList list)
Sets the SchemaPackages list to be list. |
abstract void |
setSchemaPackages(AssociationList list,
int state)
Sets the SchemaPackages list to be list. |
abstract void |
setTables(AssociationList list)
Sets the Tables list to be list. |
abstract void |
setTables(AssociationList inObjects,
int state)
Sets the entire Tables list to match the passed in AssociationList, sets the state of the Tables |
| Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
|---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
| 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_SCHEMAPACKAGE_NAME
SchemaPackage: The database catalog where these schemas are contained.
static final java.lang.String ASSOCIATION_TABLES_NAME
Tables: *Unknown*
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface DeployedDataPackageinitializeRequiredObjects 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
initializePredObjects in interface DeployedDataPackageinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getSchemaPackages()
throws java.rmi.RemoteException,
MdException
SchemaPackages
SchemaPackages 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.
DatabaseCatalog getSchemaPackage()
throws java.rmi.RemoteException,
MdException
DatabaseCatalog for SchemaPackage
DatabaseCatalog ( null if not set ) of SchemaPackage 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 getTables()
throws java.rmi.RemoteException,
MdException
Tables
Tables 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 getSchemaPackages(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SchemaPackages
fGoToServer - boolean Get the value from the server.
SchemaPackages 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 getTables(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Tables
fGoToServer - boolean Get the value from the server.
Tables 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 setSchemaPackages(AssociationList list)
throws java.rmi.RemoteException
SchemaPackages list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSchemaPackages(AssociationList list,
int state)
throws java.rmi.RemoteException
SchemaPackages list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setSchemaPackage(DatabaseCatalog inObject)
throws java.rmi.RemoteException
SchemaPackages list 0th element to be inObject.
inObject - DatabaseCatalog
java.rmi.RemoteException - If error communicating with remote object.
void setTables(AssociationList list)
throws java.rmi.RemoteException
Tables list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTables(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 | |||||||||||||