Class ParameterTypeInfo

java.lang.Object
com.sun.star.lib.uno.typeinfo.TypeInfo
com.sun.star.lib.uno.typeinfo.ParameterTypeInfo

public class ParameterTypeInfo extends TypeInfo
  • Field Details

    • m_index

      protected int m_index
    • m_methodName

      protected String m_methodName
  • Constructor Details

    • ParameterTypeInfo

      public ParameterTypeInfo(String name, String methodName, int index, int flags, Type unoType)
      Create a parameter type info with a UNO type that cannot unambiguously be represented as a Java 1.2 type.
      Parameters:
      name - the name of this parameter; must not be null
      methodName - the name of the method; must not be null
      index - the index among the parameters
      flags - any flags (IN, OUT, UNSIGNED, ANY, INTERFACE)
      unoType - the exact UNO type; or null if the UNO type is already unambiguously represented by the Java 1.2 type
      Since:
      UDK 3.2
    • ParameterTypeInfo

      public ParameterTypeInfo(String name, String methodName, int index, int flags)
  • Method Details

    • getMethodName

      public String getMethodName()
    • getIndex

      public int getIndex()
    • isIN

      public boolean isIN()
    • isOUT

      public boolean isOUT()
    • isINOUT

      public boolean isINOUT()
    • getUnoType

      public final Type getUnoType()
      Get the exact UNO type of this parameter type info, in case it cannot unambiguously be represented as a Java 1.2 type.

      If this is an out or in–out parameter, the UNO type must be a sequence type, taking into account that such a parameter is represented in Java as a parameter of array type.

      Returns:
      the exact UNO type of this parameter type info, or null if the UNO type is already unambiguously represented by the Java 1.2 type
      Since:
      UDK 3.2