code: public void addDatastream(Datastream datastream, boolean addNewVersion)
              throws ServerException {
          assertNotInvalidated();
          assertNotPendingRemoval();
          // use this call to handle versionable
          m_obj.addDatastreamVersion(datastream, addNewVersion);
      }
docs: Adds a datastream to the object.
  
  @param datastream
  The datastream.
  @throws ServerException
  If any type of error occurred fulfilling the request.