Package com.sun.star.lib.uno.typeinfo
Class ParameterTypeInfo
java.lang.Object
com.sun.star.lib.uno.typeinfo.TypeInfo
com.sun.star.lib.uno.typeinfo.ParameterTypeInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterTypeInfo
(String name, String methodName, int index, int flags) 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. -
Method Summary
Methods inherited from class com.sun.star.lib.uno.typeinfo.TypeInfo
getFlags, getName, isAny, isInterface, isUnsigned
-
Field Details
-
m_index
protected int m_index -
m_methodName
-
-
Constructor Details
-
ParameterTypeInfo
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 benull
methodName
- the name of the method; must not benull
index
- the index among the parametersflags
- any flags (IN
,OUT
,UNSIGNED
,ANY
,INTERFACE
)unoType
- the exact UNO type; ornull
if the UNO type is already unambiguously represented by the Java 1.2 type- Since:
- UDK 3.2
-
ParameterTypeInfo
-
-
Method Details
-
getMethodName
-
getIndex
public int getIndex() -
isIN
public boolean isIN() -
isOUT
public boolean isOUT() -
isINOUT
public boolean isINOUT() -
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
-