Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
UNO Java Runtime

com.sun.star.uno
Interface ITypeDescription


public interface ITypeDescription

The ITypeDescription allows to examine a type in detail (e.g. it is used for marshaling/unmarshaling).

Since:
UDK3.0

Method Summary
 java.lang.String getArrayTypeName()
          Gets the array type name.
 ITypeDescription getComponentType()
          Gets the component ITypeDescription if this is an array type, otherwise returns null.
 IFieldDescription getFieldDescription(java.lang.String name)
          Gets the IFieldDescription for the field with the name name, if it exists, otherwise returns null.
 IFieldDescription[] getFieldDescriptions()
          Gets the IFieldDescription for every field, if this type is an interface.
 IMethodDescription getMethodDescription(int methodId)
          Gets the IMethodDescription for the method with index methodId, if it exists, otherwise returns null.
 IMethodDescription getMethodDescription(java.lang.String name)
          Gets the IMethodDescription for the method with the name name, if it exists, otherwise returns null.
 IMethodDescription[] getMethodDescriptions()
          Gets the IMethodDescription for every method, if this type is an interface.
 ITypeDescription getSuperType()
          Gets the ITypeDescription of the super, if it exists.
 TypeClass getTypeClass()
          Gets the IDL TypeClass of the type.
 java.lang.String getTypeName()
          Gets the type name.
 java.lang.Class getZClass()
          Gets the corresponding java class for the type.
 

Method Detail

getSuperType

public ITypeDescription getSuperType()
Gets the ITypeDescription of the super, if it exists.

Returns:
the ITypeDescription.

getMethodDescriptions

public IMethodDescription[] getMethodDescriptions()
Gets the IMethodDescription for every method, if this type is an interface. Otherwise returns null.

Returns:
the IMethodDescription[].

getMethodDescription

public IMethodDescription getMethodDescription(int methodId)
Gets the IMethodDescription for the method with index methodId, if it exists, otherwise returns null.

Returns:
the IMethodDescription.

getMethodDescription

public IMethodDescription getMethodDescription(java.lang.String name)
Gets the IMethodDescription for the method with the name name, if it exists, otherwise returns null.

Returns:
the IMethodDescription.

getFieldDescriptions

public IFieldDescription[] getFieldDescriptions()
Gets the IFieldDescription for every field, if this type is an interface. Otherwise returns null.

Returns:
the IFieldDescription[].

getFieldDescription

public IFieldDescription getFieldDescription(java.lang.String name)
Gets the IFieldDescription for the field with the name name, if it exists, otherwise returns null.

Returns:
the IFieldDescription.

getTypeClass

public TypeClass getTypeClass()
Gets the IDL TypeClass of the type.

Returns:
the TypeClass.

getComponentType

public ITypeDescription getComponentType()
Gets the component ITypeDescription if this is an array type, otherwise returns null.

Returns:
the ITypeDescription

getTypeName

public java.lang.String getTypeName()
Gets the type name.

Returns:
the type name.

getArrayTypeName

public java.lang.String getArrayTypeName()
Gets the array type name.

Returns:
the array type name.

getZClass

public java.lang.Class getZClass()
Gets the corresponding java class for the type.

Returns:
the corresponding java class.

UNO Java Runtime

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.