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

public Class MemberTypeInfo

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
MemberTypeInfo(String
the name of this member; must not be null
name
,
int
the index among the direct members
index
,
int
any flags (UNSIGNED, ANY, INTERFACE, TYPE_PARAMETER)
flags
,
Type
the exact UNO type; or null if the UNO type is already unambiguously represented by the Java 1.2 type
unoType
,
int
the index of the type parameter that determines the type of this parameterized member; or -1 if this member is of an explicit type, or is the member of a plain struct type
typeParameterIndex
)

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

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

Method Summary

Modifier and TypeMethod and Description
public int
public final int

Returns:

the index of the type parameter that determines the type of this parameterized member; if this member is of an explicit type, or is the member of a plain struct type, -1 is returned
getTypeParameterIndex
()

Returns the index of the type parameter that determines the parameterized type of this member.

public final Type

Returns:

the exact UNO type of this member 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 member type info, in case it cannot unambiguously be represented as a Java 1.2 type.

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

Field Detail

m_indexback to summary
pack-priv int m_index
m_typeParameterIndexback to summary
private final int m_typeParameterIndex
m_unoTypeback to summary
private final Type m_unoType

Constructor Detail

MemberTypeInfoback to summary
public MemberTypeInfo(String name, int index, int flags, Type unoType, int typeParameterIndex)

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

Parameters
name:String

the name of this member; must not be null

index:int

the index among the direct members

flags:int

any flags (UNSIGNED, ANY, INTERFACE, TYPE_PARAMETER)

unoType:Type

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

typeParameterIndex:int

the index of the type parameter that determines the type of this parameterized member; or -1 if this member is of an explicit type, or is the member of a plain struct type

Since
UDK 3.2
MemberTypeInfoback to summary
public MemberTypeInfo(String name, int index, int flags)

Method Detail

getIndexback to summary
public int getIndex()
getTypeParameterIndexback to summary
public final int getTypeParameterIndex()

Returns the index of the type parameter that determines the parameterized type of this member.

Returns:int

the index of the type parameter that determines the type of this parameterized member; if this member is of an explicit type, or is the member of a plain struct type, -1 is returned

Since
UDK 3.2
getUnoTypeback to summary
public final Type getUnoType()

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

Returns:Type

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

Since
UDK 3.2