*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface DocumentInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote
All Known Subinterfaces:
NoteInterface

@SASScope("ALL") @BinaryCompatibilityOnly public interface DocumentInterface extends MetadataInterface
This is a simple interface for representing documents that are coming from a metadata repository.

  • Method Details

    • getTextRole

      String getTextRole() throws ServiceException, RemoteException
      Returns:
      The document's text role.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • getTextType

      String getTextType() throws ServiceException, RemoteException
      Returns:
      The document's text type.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • getURI

      String getURI() throws ServiceException, RemoteException
      Returns:
      The document URI.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • setTextRole

      void setTextRole(String role) throws ServiceException, RemoteException
      Parameters:
      role - The new text role for the document.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • setTextType

      void setTextType(String type) throws ServiceException, RemoteException
      Parameters:
      type - The new text type for the document.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • setURI

      void setURI(String uri) throws ServiceException, RemoteException
      Parameters:
      uri - The new document URI.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • getDocumentType

      String getDocumentType() throws ServiceException, RemoteException
      Returns:
      The document type.
      Throws:
      ServiceException - In the event of a service level error.
      RemoteException - in the event of remote object failure.
    • addObject

      void addObject(MetadataInterface newObject) throws ServiceException, RemoteException
      Add an object to the document's Objects association.
      Parameters:
      newObject - The object add to the Objects association.
      Throws:
      ServiceException - In case of a service level error.
      RemoteException - In the event of remote object failure.
    • removeObject

      void removeObject(MetadataInterface object) throws ServiceException, RemoteException
      Remove an object from the document's Objects association.
      Parameters:
      object - The object to remove from the Objects association.
      Throws:
      ServiceException - In case of a service level error.
      RemoteException - In the event of remote object failure.
    • setObjects

      void setObjects(List objectList) throws ServiceException, RemoteException
      Set the list of objects in the document's Objects association.
      Parameters:
      objectList - The list of Objects associated to this document.
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getObjects

      List getObjects() throws ServiceException, RemoteException
      Get the List of Objects associated to this Document.
      Returns:
      The list of associated objects.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - In the event of remote object failure.