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

public Class AttributeTypeInfo

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
AttributeTypeInfo(String
the name of this attribute; must not be null
name
,
int
the index among the direct members
index
,
int
any flags (READONLY, BOUND, 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 an attribute type info with a UNO type that cannot unambiguously be represented as a Java 1.2 type.

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

Method Summary

Modifier and TypeMethod and Description
public int
public final Type

Returns:

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

public final boolean
isBound()

Returns the status of the 'bound' flag.

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

AttributeTypeInfoback to summary
public AttributeTypeInfo(String name, int index, int flags, Type unoType)

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

Parameters
name:String

the name of this attribute; must not be null

index:int

the index among the direct members

flags:int

any flags (READONLY, BOUND, 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
AttributeTypeInfoback to summary
public AttributeTypeInfo(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 type of this attribute type info, in case it cannot unambiguously be represented as a Java 1.2 type.

Returns:Type

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

Since
UDK 3.2
isBoundback to summary
public final boolean isBound()

Returns the status of the 'bound' flag.

Since
UDK 3.2
isReadOnlyback to summary
public boolean isReadOnly()