package rose;

/**
 * COM Interface 'IRoseContextMenuItem'. Generated 1/31/00 1:49:59 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 IRoseContextMenuItem {
  /**
   * getCaption. 
   *
   * @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 String getCaption  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * setCaption. 
   *
   * @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 setCaption  (
              String rhs) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getInternalName. 
   *
   * @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 String getInternalName  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * setInternalName. 
   *
   * @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 setInternalName  (
              String rhs) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getMenuID. 
   *
   * @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 getMenuID  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * setMenuID. 
   *
   * @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 setMenuID  (
              short rhs) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * getMenuState. 
   *
   * @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 getMenuState  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * setMenuState. 
   *
   * @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 setMenuState  (
              short rhs) throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * identifyClass. 
   *
   * @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 String identifyClass  () throws java.io.IOException, com.linar.jintegra.AutomationException;

  /**
   * isClass. 
   *
   * @param     theClassName The theClassName (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 isClass  (
              String theClassName) 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 IIDee0b16e0_ff91_11d1_9fad_0060975306fe = 1;
  /** Dummy reference to interface proxy to make sure it gets compiled */
  int xxDummy = IRoseContextMenuItemProxy.xxDummy;
  /** Used internally by J-Integra, please ignore */
  String IID = "00020400-0000-0000-C000-000000000046";
  String DISPID_12682_GET_NAME = "getCaption";
  String DISPID_12682_PUT_NAME = "setCaption";
  String DISPID_12683_GET_NAME = "getInternalName";
  String DISPID_12683_PUT_NAME = "setInternalName";
  String DISPID_12686_GET_NAME = "getMenuID";
  String DISPID_12686_PUT_NAME = "setMenuID";
  String DISPID_12687_GET_NAME = "getMenuState";
  String DISPID_12687_PUT_NAME = "setMenuState";
  String DISPID_12668_NAME = "identifyClass";
  String DISPID_12669_NAME = "isClass";
}
