|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DatabaseSchema
A relational schema that contains tables that are not in SAS data sets. In order to use a SAS application server to access the tables in a database schema, the tables must also be registered with a SAS library.
Attributes of DatabaseSchema are:
Associations of DatabaseSchema 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(); DatabaseSchema myObject = (DatabaseSchema) factory.createComplexMetadataObject(objectStore, "DatabaseSchema_Object", MetadataObjects.DATABASESCHEMA, "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 |
ATTRIBUTE_SCHEMANAME_NAME
Constant used for the name of the SchemaName attribute. |
| Fields inherited from interface com.sas.metadata.remote.RelationalSchema |
|---|
ASSOCIATION_SCHEMAPACKAGE_NAME, ASSOCIATION_TABLES_NAME |
| 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 java.lang.String |
getSchemaName()
Gets the String value of SchemaName |
abstract int |
getSchemaNameMaxLength()
Gets the maximum length of SchemaName |
abstract int |
getSchemaNameState()
Gets the Metadata State of SchemaName |
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 |
setSchemaName(java.lang.String inSchemaName)
Sets the SchemaName value and sets the state to MetadataState.LOCAL. |
abstract void |
setSchemaName(java.lang.String inSchemaName,
int state)
Sets the SchemaName Metadata State. |
abstract void |
setSchemaNameState(int state)
Sets the Metadata State of SchemaName. |
| Methods inherited from interface com.sas.metadata.remote.RelationalSchema |
|---|
getSchemaPackage, getSchemaPackages, getSchemaPackages, getTables, getTables, setSchemaPackage, setSchemaPackages, setSchemaPackages, setTables, setTables |
| 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 ATTRIBUTE_SCHEMANAME_NAME
SchemaName: The name the DBMS uses to refer to this schema.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface DeployedDataPackageinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface RelationalSchemainitializeRequiredObjects 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 RelationalSchemainitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getSchemaName()
throws java.rmi.RemoteException
String value of SchemaName
SchemaName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getSchemaNameState()
throws java.rmi.RemoteException
SchemaName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getSchemaNameMaxLength()
throws java.rmi.RemoteException
SchemaName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
void setSchemaName(java.lang.String inSchemaName)
throws java.rmi.RemoteException
SchemaName value and sets the state to MetadataState.LOCAL.
inSchemaName - String
java.rmi.RemoteException - If error communicating with remote object.
void setSchemaName(java.lang.String inSchemaName,
int state)
throws java.rmi.RemoteException
SchemaName Metadata State.
inSchemaName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setSchemaNameState(int state)
throws java.rmi.RemoteException
SchemaName.
state - 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 | |||||||||||||