|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DeployedDataPackage
A container of data files (files that contain data) or other Deployed Data Packages. This type has associations with DeployedComponents that can access the package. This type could be a directory, a database catalog or schema or a SAS library.
Database schemas and catalogs should be associated with the DBMS that provides access to those packages.Attributes of DeployedDataPackage are:
Associations of DeployedDataPackage 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(); DeployedDataPackage myObject = (DeployedDataPackage) factory.createComplexMetadataObject(objectStore, "DeployedDataPackage_Object", MetadataObjects.DEPLOYEDDATAPACKAGE, "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_ALIASES_NAME
Constant used for the name of the Aliases association. |
static java.lang.String |
ASSOCIATION_ALIASFOR_NAME
Constant used for the name of the AliasFor association. |
static java.lang.String |
ASSOCIATION_DEPLOYEDCOMPONENTS_NAME
Constant used for the name of the DeployedComponents association. |
static java.lang.String |
ASSOCIATION_TABLECOLLECTIONS_NAME
Constant used for the name of the TableCollections association. |
static java.lang.String |
ASSOCIATION_USEDBYPACKAGES_NAME
Constant used for the name of the UsedByPackages association. |
static java.lang.String |
ASSOCIATION_USINGPACKAGES_NAME
Constant used for the name of the UsingPackages association. |
| 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 |
getAliases()
Gets the AssociationList of Aliases |
abstract AssociationList |
getAliases(boolean fGoToServer)
Gets the Associationlist of Aliases |
abstract DeployedDataPackage |
getAliasFor()
Gets the DeployedDataPackage for AliasFor |
abstract AssociationList |
getAliasFors()
Gets the Association list of AliasFors |
abstract AssociationList |
getAliasFors(boolean fGoToServer)
Gets the Associationlist of AliasFors |
abstract AssociationList |
getDeployedComponents()
Gets the AssociationList of DeployedComponents |
abstract AssociationList |
getDeployedComponents(boolean fGoToServer)
Gets the Associationlist of DeployedComponents |
abstract AssociationList |
getTableCollections()
Gets the Association list of TableCollections |
abstract AssociationList |
getTableCollections(boolean fGoToServer)
Gets the Associationlist of TableCollections |
abstract AssociationList |
getUsedByPackages()
Gets the AssociationList of UsedByPackages |
abstract AssociationList |
getUsedByPackages(boolean fGoToServer)
Gets the Associationlist of UsedByPackages |
abstract AssociationList |
getUsingPackages()
Gets the Association list of UsingPackages |
abstract AssociationList |
getUsingPackages(boolean fGoToServer)
Gets the Associationlist of UsingPackages |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AliasesDeployedComponentsUsedByPackages |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAliases(AssociationList list)
Sets the Aliases list to be list. |
abstract void |
setAliases(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setAliasFor(DeployedDataPackage inObject)
Sets the AliasFors list 0th element to be inObject. |
abstract void |
setAliasFors(AssociationList list)
Sets the AliasFors list to be list. |
abstract void |
setAliasFors(AssociationList list,
int state)
Sets the AliasFors list to be list. |
abstract void |
setDeployedComponents(AssociationList list)
Sets the DeployedComponents list to be list. |
abstract void |
setDeployedComponents(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
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 |
setUsedByPackages(AssociationList list)
Sets the UsedByPackages list to be list. |
abstract void |
setUsedByPackages(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setUsingPackages(AssociationList list)
Sets the UsingPackages list to be list. |
abstract void |
setUsingPackages(AssociationList inObjects,
int state)
Sets the entire UsingPackages list to match the passed in AssociationList, sets the state of the UsingPackages |
| 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_ALIASES_NAME
Aliases: The list of deployed data packages that are an alias for this package. For example, directory c:\mystuff may have an alias that is \\mycomputer\mystuff. Tables will be associated only with non-alias deployed data packages.
static final java.lang.String ASSOCIATION_DEPLOYEDCOMPONENTS_NAME
DeployedComponents: The list of deployed components that can access this data package.
static final java.lang.String ASSOCIATION_USEDBYPACKAGES_NAME
UsedByPackages: The list of deployed data packages that use this data package. For example, a SAS library named A may be comprised of libraries B and C. Library A would be in the UsedPackageList for library B and library C.
static final java.lang.String ASSOCIATION_ALIASFOR_NAME
AliasFor: The deployed data package that this object is an alias for.
static final java.lang.String ASSOCIATION_TABLECOLLECTIONS_NAME
TableCollections: The table collections that use this location.
static final java.lang.String ASSOCIATION_USINGPACKAGES_NAME
UsingPackages: The list of deployed data packages that comprise this data package. If a SAS library named A uses library B and C, then B and C will be in the UsingPackageList for A.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects 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
AliasesDeployedComponentsUsedByPackages
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAliases()
throws java.rmi.RemoteException,
MdException
Aliases
Aliases 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 getDeployedComponents()
throws java.rmi.RemoteException,
MdException
DeployedComponents
DeployedComponents 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 getUsedByPackages()
throws java.rmi.RemoteException,
MdException
UsedByPackages
UsedByPackages 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 getAliasFors()
throws java.rmi.RemoteException,
MdException
AliasFors
AliasFors 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.
DeployedDataPackage getAliasFor()
throws java.rmi.RemoteException,
MdException
DeployedDataPackage for AliasFor
DeployedDataPackage ( null if not set ) of AliasFor 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 getUsingPackages()
throws java.rmi.RemoteException,
MdException
UsingPackages
UsingPackages 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 getAliases(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Aliases
fGoToServer - boolean Get the value from the server.
Aliases 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 getDeployedComponents(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
DeployedComponents
fGoToServer - boolean Get the value from the server.
DeployedComponents 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 getUsedByPackages(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
UsedByPackages
fGoToServer - boolean Get the value from the server.
UsedByPackages 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 getAliasFors(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AliasFors
fGoToServer - boolean Get the value from the server.
AliasFors 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.
AssociationList getUsingPackages(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
UsingPackages
fGoToServer - boolean Get the value from the server.
UsingPackages 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 setAliases(AssociationList list)
throws java.rmi.RemoteException
Aliases list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAliases(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setDeployedComponents(AssociationList list)
throws java.rmi.RemoteException
DeployedComponents list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setDeployedComponents(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setUsedByPackages(AssociationList list)
throws java.rmi.RemoteException
UsedByPackages list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setUsedByPackages(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAliasFors(AssociationList list)
throws java.rmi.RemoteException
AliasFors list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAliasFors(AssociationList list,
int state)
throws java.rmi.RemoteException
AliasFors list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAliasFor(DeployedDataPackage inObject)
throws java.rmi.RemoteException
AliasFors list 0th element to be inObject.
inObject - DeployedDataPackage
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.
void setUsingPackages(AssociationList list)
throws java.rmi.RemoteException
UsingPackages list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setUsingPackages(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 | |||||||||||||