constants group MethodConcept in module com::sun::star::beans::

(Global Index)

Syntax

constants group MethodConcept;

Description

These constants are used to specify concepts of the introspection which apply to methods. This list is not necessarily complete; new constants may be added (by the author).

Constants Summary

ALL This value is used to query for all methods.

DANGEROUS specifies methods which can result in an unstable state (i.e. deadlock, application crash, security hole ... ) when called directly by the user.

PROPERTY specifies methods which are used to set and get the value of properties/attributes.

LISTENER specifies methods of the listener concept .

ENUMERATION specifies methods of the enumeration concept .

NAMECONTAINER specifies methods of the name container concept .

INDEXCONTAINER specifies methods of the index container concept .

Field Details



ALL

Syntax

const long  ALL = -1;

Description

This value is used to query for all methods.


DANGEROUS

Syntax

const long  DANGEROUS = 1;

Description

specifies methods which can result in an unstable state (i.e. deadlock, application crash, security hole ... ) when called directly by the user.


PROPERTY

Syntax

const long  PROPERTY = 2;

Description

specifies methods which are used to set and get the value of properties/attributes.

These methods have the signature type get...() , void set...() or boolean is...() .


LISTENER

Syntax

const long  LISTENER = 4;

Description

specifies methods of the listener concept .

These methods have the signature add...Listener() or remove...Listener() .


ENUMERATION

Syntax

const long  ENUMERATION = 8;

Description

specifies methods of the enumeration concept .

These methods have the signature create...Enumeration and return an interface that was derived from XEnumeration . Additionally, the method XEnumerationAccess::getElementType belongs to this concept.


NAMECONTAINER

Syntax

const long  NAMECONTAINER = 16;

Description

specifies methods of the name container concept .

These methods have the signature get...ByName() , set...ByName() , replace...ByName() , remove...ByName() , has...ByName() or get...Names . In addition, the method XNameAccess::getElementType() belongs to this concept.


INDEXCONTAINER

Syntax

const long  INDEXCONTAINER = 32;

Description

specifies methods of the index container concept .

These methods have the signature get...ByIndex() , insert...ByIndex() , replace...ByIndex() or remove...ByIndex() . The method XIndexAccess::getCount() also belongs to this concept.

Top of Page