Package com.sun.star.lib.uno.typeinfo
Class MemberTypeInfo
- java.lang.Object
-
- com.sun.star.lib.uno.typeinfo.TypeInfo
-
- com.sun.star.lib.uno.typeinfo.MemberTypeInfo
-
public class MemberTypeInfo extends TypeInfo
-
-
Constructor Summary
Constructors Constructor Description MemberTypeInfo(java.lang.String name, int index, int flags)
MemberTypeInfo(java.lang.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
int
getTypeParameterIndex()
Returns the index of the type parameter that determines the parameterized type of this member.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.-
Methods inherited from class com.sun.star.lib.uno.typeinfo.TypeInfo
getFlags, getName, isAny, isInterface, isUnsigned
-
-
-
-
Constructor Detail
-
MemberTypeInfo
public MemberTypeInfo(java.lang.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
- the name of this member; must not benull
index
- the index among the direct membersflags
- any flags (UNSIGNED
,ANY
,INTERFACE
,TYPE_PARAMETER
)unoType
- the exact UNO type; ornull
if the UNO type is already unambiguously represented by the Java 1.2 typetypeParameterIndex
- 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
-
MemberTypeInfo
public MemberTypeInfo(java.lang.String name, int index, int flags)
-
-
Method Detail
-
getIndex
public int getIndex()
-
getUnoType
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:
- 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
-
getTypeParameterIndex
public final int getTypeParameterIndex()
Returns the index of the type parameter that determines the parameterized type of this member.- 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 - Since:
- UDK 3.2
-
-