Top Fields Constructors Methods
com.sun.star.lib.uno.typeinfo

public Class ParameterTypeInfo

extends TypeInfo
Class Inheritance
Imports
com.sun.star.uno.Type

Field Summary

Modifier and TypeField and Description
protected int
protected String
private final Type
Inherited from com.sun.star.lib.uno.typeinfo.TypeInfo:
ANYBOUNDCONSTININTERFACEm_flagsm_nameONEWAYOUTREADONLYUNSIGNED

Constructor Summary

AccessConstructor and Description
public
ParameterTypeInfo(String
the name of this parameter; must not be null
name
,
String
the name of the method; must not be null
methodName
,
int
the index among the parameters
index
,
int
any flags (IN, OUT, UNSIGNED, ANY, INTERFACE)
flags
,
Type
the exact UNO type; or null if the UNO type is already unambiguously represented by the Java 1.2 type
unoType
)

Create a parameter type info with a UNO type that cannot unambiguously be represented as a Java 1.2 type.

public
ParameterTypeInfo(String name, String methodName, int index, int flags)

Method Summary

Modifier and TypeMethod and Description
public int
public String
public final 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
getUnoType
()

Get the exact UNO type of this parameter type info, in case it cannot unambiguously be represented as a Java 1.2 type.

public boolean
isIN()

public boolean
public boolean
Inherited from com.sun.star.lib.uno.typeinfo.TypeInfo:
getFlagsgetNameisAnyisInterfaceisUnsigned

Field Detail

m_indexback to summary
protected int m_index
m_methodNameback to summary
protected String m_methodName
m_unoTypeback to summary
private final Type m_unoType

Constructor Detail

ParameterTypeInfoback to summary
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:String

the name of this parameter; must not be null

methodName:String

the name of the method; must not be null

index:int

the index among the parameters

flags:int

any flags (IN, OUT, UNSIGNED, ANY, INTERFACE)

unoType:Type

the exact UNO type; or null if the UNO type is already unambiguously represented by the Java 1.2 type

Since
UDK 3.2
ParameterTypeInfoback to summary
public ParameterTypeInfo(String name, String methodName, int index, int flags)

Method Detail

getIndexback to summary
public int getIndex()
getMethodNameback to summary
public String getMethodName()
getUnoTypeback to summary
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:Type

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
isINback to summary
public boolean isIN()
isINOUTback to summary
public boolean isINOUT()
isOUTback to summary
public boolean isOUT()