|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SASCatalog
Represents a SAS file that stores many different kinds of information in smaller units called catalog entries. A single SAS catalog can contain several different types of catalog entries.
Attributes of SASCatalog are:
Associations of SASCatalog 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(); SASCatalog myObject = (SASCatalog) factory.createComplexMetadataObject(objectStore, "SASCatalog_Object", MetadataObjects.SASCATALOG, "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_LIBRARIES_NAME
Constant used for the name of the Libraries association. |
static java.lang.String |
ASSOCIATION_SASCATALOGENTRIES_NAME
Constant used for the name of the SASCatalogEntries association. |
static java.lang.String |
ATTRIBUTE_SASCATALOGNAME_NAME
Constant used for the name of the SASCatalogName attribute. |
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 | |
---|---|
AssociationList |
getLibraries()
Gets the Association list of Libraries |
AssociationList |
getLibraries(boolean fGoToServer)
Gets the Associationlist of Libraries |
AssociationList |
getSASCatalogEntries()
Gets the Association list of SASCatalogEntries |
AssociationList |
getSASCatalogEntries(boolean fGoToServer)
Gets the Associationlist of SASCatalogEntries |
java.lang.String |
getSASCatalogName()
Gets the String value of SASCatalogName |
int |
getSASCatalogNameMaxLength()
Gets the maximum length of SASCatalogName |
int |
getSASCatalogNameState()
Gets the Metadata State of SASCatalogName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setLibraries(AssociationList list)
Sets the Libraries list to be list . |
void |
setLibraries(AssociationList inObjects,
int state)
Sets the entire Libraries list to match the passed in AssociationList, sets the state of the Libraries |
void |
setSASCatalogEntries(AssociationList list)
Sets the SASCatalogEntries list to be list . |
void |
setSASCatalogEntries(AssociationList inObjects,
int state)
Sets the entire SASCatalogEntries list to match the passed in AssociationList, sets the state of the SASCatalogEntries |
void |
setSASCatalogName(java.lang.String inSASCatalogName)
Sets the SASCatalogName value and sets the state to MetadataState.LOCAL. |
void |
setSASCatalogName(java.lang.String inSASCatalogName,
int state)
Sets the SASCatalogName Metadata State. |
void |
setSASCatalogNameState(int state)
Sets the Metadata State of SASCatalogName . |
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_SASCATALOGNAME_NAME
SASCatalogName: The name of the catalog.
static final java.lang.String ASSOCIATION_LIBRARIES_NAME
Libraries: The libraries that can reference this catalog.
static final java.lang.String ASSOCIATION_SASCATALOGENTRIES_NAME
SASCatalogEntries: *Unknown*
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface DeployedDataPackage
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
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getSASCatalogName() throws java.rmi.RemoteException
String
value of SASCatalogName
SASCatalogName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASCatalogNameState() throws java.rmi.RemoteException
SASCatalogName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASCatalogNameMaxLength() throws java.rmi.RemoteException
SASCatalogName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getLibraries() throws java.rmi.RemoteException, MdException
Libraries
Libraries
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 getSASCatalogEntries() throws java.rmi.RemoteException, MdException
SASCatalogEntries
SASCatalogEntries
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 getLibraries(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Libraries
fGoToServer
- boolean Get the value from the server.
Libraries
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 getSASCatalogEntries(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SASCatalogEntries
fGoToServer
- boolean Get the value from the server.
SASCatalogEntries
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 setSASCatalogName(java.lang.String inSASCatalogName) throws java.rmi.RemoteException
SASCatalogName
value and sets the state to MetadataState.LOCAL.
inSASCatalogName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSASCatalogName(java.lang.String inSASCatalogName, int state) throws java.rmi.RemoteException
SASCatalogName
Metadata State.
inSASCatalogName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASCatalogNameState(int state) throws java.rmi.RemoteException
SASCatalogName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(AssociationList list) throws java.rmi.RemoteException
Libraries
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASCatalogEntries(AssociationList list) throws java.rmi.RemoteException
SASCatalogEntries
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSASCatalogEntries(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 |