package rose;

/**
 * COM Interface 'IRoseModuleDiagramCollection'. Generated 1/31/00 1:50:01 PM
 * from 'C:\Program Files\Rational\Rose 2000\rationalrose.tlb'<P>
 * Generated using version 1.3.1  of <B>J-Integra[tm]</B> -- pure Java/COM integration technology from Linar Ltd.
 * See  <A HREF="http://www.linar.com/">http://www.linar.com/</A><P>
 */
public interface IRoseModuleDiagramCollection {
  /**
   * getCount. 
   *
   * @return    return value.  The return value
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public short getCount  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * setCount. 
   *
   * @param     rhs The rhs)
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public void setCount  (
              short rhs) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getAt. 
   *
   * @param     Index The Index (in)
   * @return    return value.  An reference to a IRoseModuleDiagram
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public IRoseModuleDiagram getAt  (
              short Index) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * exists. 
   *
   * @param     pObject An reference to a IRoseModuleDiagram (in)
   * @return    return value.  The return value
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public boolean exists  (
              rose.IRoseModuleDiagram pObject) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * findFirst. 
   *
   * @param     Name The Name (in)
   * @return    return value.  The return value
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public short findFirst  (
              String Name) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * findNext. 
   *
   * @param     iCurID The iCurID (in)
   * @param     Name The Name (in)
   * @return    return value.  The return value
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public short findNext  (
              short iCurID,
              String Name) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * indexOf. 
   *
   * @param     theObject An reference to a IRoseModuleDiagram (in)
   * @return    return value.  The return value
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public short indexOf  (
              rose.IRoseModuleDiagram theObject) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * add. 
   *
   * @param     theObject An reference to a IRoseModuleDiagram (in)
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public void add  (
              rose.IRoseModuleDiagram theObject) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * addCollection. 
   *
   * @param     theCollection An reference to a IRoseModuleDiagramCollection (in)
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public void addCollection  (
              rose.IRoseModuleDiagramCollection theCollection) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * remove. 
   *
   * @param     theObject An reference to a IRoseModuleDiagram (in)
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public void remove  (
              rose.IRoseModuleDiagram theObject) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * removeAll. 
   *
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public void removeAll  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getFirst. 
   *
   * @param     Name The Name (in)
   * @return    return value.  An reference to a IRoseModuleDiagram
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public IRoseModuleDiagram getFirst  (
              String Name) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getWithUniqueID. 
   *
   * @param     UniqueID The UniqueID (in)
   * @return    return value.  An reference to a IRoseModuleDiagram
   * @exception java.io.IOException If there are communications problems.
   * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
   */
  public IRoseModuleDiagram getWithUniqueID  (
              String UniqueID) throws java.io.IOException, com.linar.jintegra.AutomationException;


  // Constants to help J-Integra dynamically map DCOM invocations to
  // interface members.  Don't worry, you will never need to explicitly use these constants.
  int IID97b38348_a4e3_11d0_bff0_00aa003def5b = 1;
  /** Dummy reference to interface proxy to make sure it gets compiled */
  int xxDummy = IRoseModuleDiagramCollectionProxy.xxDummy;
  /** Used internally by J-Integra, please ignore */
  String IID = "00020400-0000-0000-C000-000000000046";
  String DISPID_202_GET_NAME = "getCount";
  String DISPID_202_PUT_NAME = "setCount";
  String DISPID_203_NAME = "getAt";
  String DISPID_204_NAME = "exists";
  String DISPID_205_NAME = "findFirst";
  String DISPID_206_NAME = "findNext";
  String DISPID_207_NAME = "indexOf";
  String DISPID_208_NAME = "add";
  String DISPID_209_NAME = "addCollection";
  String DISPID_210_NAME = "remove";
  String DISPID_211_NAME = "removeAll";
  String DISPID_212_NAME = "getFirst";
  String DISPID_213_NAME = "getWithUniqueID";
}
