|
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 | |
---|---|
AssociationList |
getAliases()
Gets the AssociationList of Aliases |
AssociationList |
getAliases(boolean fGoToServer)
Gets the Associationlist of Aliases |
DeployedDataPackage |
getAliasFor()
Gets the DeployedDataPackage for AliasFor |
AssociationList |
getAliasFors()
Gets the Association list of AliasFors |
AssociationList |
getAliasFors(boolean fGoToServer)
Gets the Associationlist of AliasFors |
AssociationList |
getDeployedComponents()
Gets the AssociationList of DeployedComponents |
AssociationList |
getDeployedComponents(boolean fGoToServer)
Gets the Associationlist of DeployedComponents |
AssociationList |
getTableCollections()
Gets the Association list of TableCollections |
AssociationList |
getTableCollections(boolean fGoToServer)
Gets the Associationlist of TableCollections |
AssociationList |
getUsedByPackages()
Gets the AssociationList of UsedByPackages |
AssociationList |
getUsedByPackages(boolean fGoToServer)
Gets the Associationlist of UsedByPackages |
AssociationList |
getUsingPackages()
Gets the Association list of UsingPackages |
AssociationList |
getUsingPackages(boolean fGoToServer)
Gets the Associationlist of UsingPackages |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Aliases DeployedComponents UsedByPackages |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAliases(AssociationList list)
Sets the Aliases list to be list . |
void |
setAliases(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setAliasFor(DeployedDataPackage inObject)
Sets the AliasFors list 0th element to be inObject . |
void |
setAliasFors(AssociationList list)
Sets the AliasFors list to be list . |
void |
setAliasFors(AssociationList list,
int state)
Sets the AliasFors list to be list . |
void |
setDeployedComponents(AssociationList list)
Sets the DeployedComponents list to be list . |
void |
setDeployedComponents(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTableCollections(AssociationList list)
Sets the TableCollections list to be list . |
void |
setTableCollections(AssociationList inObjects,
int state)
Sets the entire TableCollections list to match the passed in AssociationList, sets the state of the TableCollections |
void |
setUsedByPackages(AssociationList list)
Sets the UsedByPackages list to be list . |
void |
setUsedByPackages(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setUsingPackages(AssociationList list)
Sets the UsingPackages list to be list . |
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 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
Aliases
DeployedComponents
UsedByPackages
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.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 |