diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-07-23 13:56:37 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-07-23 13:56:37 +0000 |
commit | 221553a234f91b8e690b7a7f4887d6eabae9ef1d (patch) | |
tree | ffeb6752545e00f1c696ede8f4582ffaf4d0068e /udkapi | |
parent | a185a6ff931dee31c306c274fca80b1a816304ee (diff) |
INTEGRATION: CWS sb20 (1.2.32); FILE MERGED
2004/07/08 08:57:57 sb 1.2.32.1: #i31194# Use XServiceConstructorDescription for default constructors also (so that a service can now have no constructors at all).
Diffstat (limited to 'udkapi')
-rw-r--r-- | udkapi/com/sun/star/reflection/XServiceConstructorDescription.idl | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/udkapi/com/sun/star/reflection/XServiceConstructorDescription.idl b/udkapi/com/sun/star/reflection/XServiceConstructorDescription.idl index 3937e631cb36..6eb798f0ed13 100644 --- a/udkapi/com/sun/star/reflection/XServiceConstructorDescription.idl +++ b/udkapi/com/sun/star/reflection/XServiceConstructorDescription.idl @@ -2,9 +2,9 @@ * * $RCSfile: XServiceConstructorDescription.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-03-30 16:56:23 $ + * last change: $Author: rt $ $Date: 2004-07-23 14:56:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,15 +70,23 @@ interface XCompoundTypeDescription; interface XParameter; /** - Reflects an (explicit) service constructor. + Reflects a service constructor. @since #i21150# */ interface XServiceConstructorDescription { /** + Returns whether the constructor is a default constructor. + + @return <TRUE/> if the constructor is a default constructor + */ + boolean isDefaultConstructor(); + + /** Returns the constructor's name. - @return the constructor's name + @return the constructor's name; for a default constructor, an empty + <atom>string</atom> is returned */ string getName(); @@ -86,7 +94,8 @@ interface XServiceConstructorDescription { Returns the constructor's parameters. @return the reflections of all the constructor's parameters, in their - lexical order + lexical order; for a default constructor, an empty sequence is + returned */ sequence<XParameter> getParameters(); @@ -96,7 +105,9 @@ interface XServiceConstructorDescription { @return the reflections of all the exceptions that are listed in the constructor's <code>raises</code> specification, in no particular order; all elements of the returned sequence will be reflections of exception - types + types; for a default constructor, an empty sequence is returned (even + though the mapping of a default constructor in a particular language + binding may well raise certain UNO exceptions) */ sequence<XCompoundTypeDescription> getExceptions(); }; |