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

public Class MethodTypeInfo

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
MethodTypeInfo(String
the name of this method; must not be null
name
,
int
the index among the direct members
index
,
int
any flags (ONEWAY, UNSIGNED, ANY, INTERFACE)
flags
,
Type
the exact UNO return type; or null if the UNO type is already unambiguously represented by the Java 1.2 type
unoType
)

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

public
MethodTypeInfo(String name, int index, int flags)

Method Summary

Modifier and TypeMethod and Description
public int
public final Type

Returns:

the exact UNO return type of this method type info, or null if the UNO type is already unambiguously represented by the Java 1.2 type
getUnoType
()

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

public boolean
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_unoTypeback to summary
private final Type m_unoType

Constructor Detail

MethodTypeInfoback to summary
public MethodTypeInfo(String name, int index, int flags, Type unoType)

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

Parameters
name:String

the name of this method; must not be null

index:int

the index among the direct members

flags:int

any flags (ONEWAY, UNSIGNED, ANY, INTERFACE)

unoType:Type

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

Since
UDK 3.2
MethodTypeInfoback to summary
public MethodTypeInfo(String name, int index, int flags)

Method Detail

getIndexback to summary
public int getIndex()
getUnoTypeback to summary
public final Type getUnoType()

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

Returns:Type

the exact UNO return type of this method type info, or null if the UNO type is already unambiguously represented by the Java 1.2 type

Since
UDK 3.2
isConstback to summary
public boolean isConst()
isOnewayback to summary
public boolean isOneway()
isReturnUnsignedback to summary
public boolean isReturnUnsigned()