public class AttributeTypeInfo extends TypeInfo
Modifier and Type | Field and Description |
---|---|
protected int |
m_index |
Constructor and Description |
---|
AttributeTypeInfo(java.lang.String name,
int index,
int flags) |
AttributeTypeInfo(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
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.
|
boolean |
isBound()
Returns the status of the 'bound' flag.
|
boolean |
isReadOnly() |
getFlags, getName, isAny, isInterface, isUnsigned
public AttributeTypeInfo(java.lang.String name, int index, int flags, Type unoType)
name
- the name of this attribute; must not be null
index
- the index among the direct membersflags
- any flags (READONLY
, BOUND
,
UNSIGNED
, ANY
, INTERFACE
)unoType
- the exact UNO type; or null
if the UNO type
is already unambiguously represented by the Java 1.2 typepublic AttributeTypeInfo(java.lang.String name, int index, int flags)
public int getIndex()
public boolean isReadOnly()
public final boolean isBound()
public final Type getUnoType()
null
if the UNO type is already unambiguously represented by
the Java 1.2 type