|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Document
A Document is a web page or other conent that contains documentation pertinent to the object to which this document is related.
Attributes of Document are:
Associations of Document 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(); Document myObject = (Document) factory.createComplexMetadataObject(objectStore, "Document_Object", MetadataObjects.DOCUMENT, "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_OBJECTS_NAME
Constant used for the name of the Objects association. |
static java.lang.String |
ATTRIBUTE_URI_NAME
Constant used for the name of the URI attribute. |
static java.lang.String |
ATTRIBUTE_URITYPE_NAME
Constant used for the name of the URIType attribute. |
| Fields inherited from interface com.sas.metadata.remote.Text |
|---|
ASSOCIATION_ASSOCIATEDPROPERTY_NAME, ASSOCIATION_ASSOCIATEDQUERYCLAUSE_NAME, ASSOCIATION_ASSOCIATEDTRAINEDRESULT_NAME, ASSOCIATION_ASSOCIATEDTRANSFORMATION_NAME, ASSOCIATION_ASSOCIATEDTYPE_NAME, ASSOCIATION_TARGETS_NAME, ATTRIBUTE_TEXTROLE_NAME, ATTRIBUTE_TEXTTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.ContentLocation |
|---|
ASSOCIATION_ASSOCIATEDCONTENTTYPE_NAME, ASSOCIATION_FILEREFS_NAME, ASSOCIATION_REPORTS_NAME, ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME, ASSOCIATION_UNITOFTIMES_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 AssociationList |
getObjects()
Gets the AssociationList of Objects |
abstract AssociationList |
getObjects(boolean fGoToServer)
Gets the Associationlist of Objects |
abstract java.lang.String |
getURI()
Gets the String value of URI |
abstract int |
getURIMaxLength()
Gets the maximum length of URI |
abstract int |
getURIState()
Gets the Metadata State of URI |
abstract java.lang.String |
getURIType()
Gets the String value of URIType |
abstract int |
getURITypeMaxLength()
Gets the maximum length of URIType |
abstract int |
getURITypeState()
Gets the Metadata State of URIType |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Objects |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setObjects(AssociationList list)
Sets the Objects list to be list. |
abstract void |
setObjects(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setURI(java.lang.String inURI)
Sets the URI value and sets the state to MetadataState.LOCAL. |
abstract void |
setURI(java.lang.String inURI,
int state)
Sets the URI Metadata State. |
abstract void |
setURIState(int state)
Sets the Metadata State of URI. |
abstract void |
setURIType(java.lang.String inURIType)
Sets the URIType value and sets the state to MetadataState.LOCAL. |
abstract void |
setURIType(java.lang.String inURIType,
int state)
Sets the URIType Metadata State. |
abstract void |
setURITypeState(int state)
Sets the Metadata State of URIType. |
| 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_URI_NAME
URI: This is the URI through which this document can be accessed.
static final java.lang.String ATTRIBUTE_URITYPE_NAME
URIType: This is the type of URI, such as File, URL, Publication, etc.
static final java.lang.String ASSOCIATION_OBJECTS_NAME
Objects: The objects that are associated with this document.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface ContentLocationinitializeRequiredObjects in interface DeployedDataPackageinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface Textjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
Objects
initializePredObjects in interface ContentLocationinitializePredObjects in interface DeployedDataPackageinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface RootinitializePredObjects in interface Textjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getURI()
throws java.rmi.RemoteException
String value of URI
URI
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getURIState()
throws java.rmi.RemoteException
URI
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getURIMaxLength()
throws java.rmi.RemoteException
URI
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getURIType()
throws java.rmi.RemoteException
String value of URIType
URIType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getURITypeState()
throws java.rmi.RemoteException
URIType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getURITypeMaxLength()
throws java.rmi.RemoteException
URIType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getObjects()
throws java.rmi.RemoteException,
MdException
Objects
Objects 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 getObjects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Objects
fGoToServer - boolean Get the value from the server.
Objects 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 setURI(java.lang.String inURI)
throws java.rmi.RemoteException
URI value and sets the state to MetadataState.LOCAL.
inURI - String
java.rmi.RemoteException - If error communicating with remote object.
void setURI(java.lang.String inURI,
int state)
throws java.rmi.RemoteException
URI Metadata State.
inURI - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setURIState(int state)
throws java.rmi.RemoteException
URI.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setURIType(java.lang.String inURIType)
throws java.rmi.RemoteException
URIType value and sets the state to MetadataState.LOCAL.
inURIType - String
java.rmi.RemoteException - If error communicating with remote object.
void setURIType(java.lang.String inURIType,
int state)
throws java.rmi.RemoteException
URIType Metadata State.
inURIType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setURITypeState(int state)
throws java.rmi.RemoteException
URIType.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(AssociationList list)
throws java.rmi.RemoteException
Objects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(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 | |||||||||||||