|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MdObjectBaseXML
Provides the XML object interactions for Metadata objects.
Field Summary |
---|
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 | |
---|---|
java.lang.String |
closeUpdateMetadataXML(java.lang.String outXML,
java.lang.String strTagToClose)
This method is used to close out the entire update metadata string. |
java.lang.String |
createEmptyXML()
This method is used to create the start of an empty string to compare against the generated string. |
java.lang.String |
createObjectRefreshXML(CMetadata inObject,
boolean includeLocallyChangedItems,
boolean getFullObjectUpdate)
Creates XML for an object |
java.lang.String |
createObjectXML(CMetadata inObject)
Creates XML for an object |
java.lang.String |
createObjectXML(CMetadata inObject,
boolean includeEmptyAssocs)
Creates XML for an object |
java.lang.String |
createUpdateAssociationXML()
Override this method to create the XML string necessary to update lists of associated objects, such as columns, and extended attributes. |
java.lang.String |
createUpdateAssociationXML(CMetadata inObject,
java.lang.StringBuffer outXML)
Creates update XML for all associations on inputed object. |
java.lang.String |
createUpdateSimpleXML()
This method is used to create the start of the full XML string needed to perform an update. |
java.lang.String |
doCreateUpdateXML(CMetadata object)
Primary function to create an UpdateXML string to be sent to the server to perform an update on an object, and all of its association objects. |
java.lang.String |
getUpdateSimpleSubstring()
Overwrite this method to generate XML for simple properties. |
void |
updateMetadataAll()
This method is called to build and submit an updateMetadata XML stream to the server. |
Method Detail |
---|
java.lang.String getUpdateSimpleSubstring() throws java.rmi.RemoteException
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createUpdateSimpleXML() throws java.rmi.RemoteException
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createObjectXML(CMetadata inObject) throws java.rmi.RemoteException
inObject
-
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createObjectXML(CMetadata inObject, boolean includeEmptyAssocs) throws java.rmi.RemoteException
inObject
- the object to create XML forincludeEmptyAssocs
- true to include placeholder for all empty associations.
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createObjectRefreshXML(CMetadata inObject, boolean includeLocallyChangedItems, boolean getFullObjectUpdate) throws java.rmi.RemoteException
inObject
- includeLocallyChangedItems
- to include changed attributes/assocs in update XML or not.getFullObjectUpdate
- to update all of object or just populated pieces.
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createEmptyXML() throws java.rmi.RemoteException
java.rmi.RemoteException
- if connection to object is lost.java.lang.String closeUpdateMetadataXML(java.lang.String outXML, java.lang.String strTagToClose) throws java.rmi.RemoteException
outXML
- StringstrTagToClose
- String
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createUpdateAssociationXML() throws MdException, java.rmi.RemoteException
MdException
- if error with XML create
java.rmi.RemoteException
- if connection to object is lost.java.lang.String createUpdateAssociationXML(CMetadata inObject, java.lang.StringBuffer outXML) throws MdException, java.rmi.RemoteException
inObject
- outXML
-
MdException
java.rmi.RemoteException
- if connection to object is lost.java.lang.String doCreateUpdateXML(CMetadata object) throws MdException, java.rmi.RemoteException
object
- CMetadata
MdException
- if error with XML create
java.rmi.RemoteException
- if connection to object is lost.void updateMetadataAll() throws MdException, java.rmi.RemoteException
MdException
- if error with writing to the server.
java.rmi.RemoteException
- if connection to object is lost.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |