Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: beans ::

interface XPropertyContainer

Base Interface
com::sun::star::uno::XInterface

Description
makes it possible to add and remove properties to or from an object.

Some scripting engines cannot access properties directly when the property set is changed. Please use XPropertySet::getPropertyValue etc. in this case.



Known Services which Export this Interface

com::sun::star::beans::PropertyBag Implementation of this service can keep any properties and is useful when an XPropertySet is to be used, for example, as parameters for a method call.
com::sun::star::beans::PropertyBag Implementation of this service can keep any properties and is useful when an XPropertySet is to be used, for example, as parameters for a method call.
com::sun::star::ucb::HierarchyRootFolderContent A HCP Root Folder is the root container for all other HCP Folders and HCP Links.
com::sun::star::ucb::WebDAVFolderContent A DCP Folder is a container for other DCP Folders or Documents.
com::sun::star::ucb::PersistentPropertySet This service containss the interfaces to implement by objects returned by XPropertySetRegistry::openPropertySet .
com::sun::star::ucb::HierarchyFolderContent A HCP Folder is a container for other HCP Folders and HCP Links.
com::sun::star::ucb::FileContent A File Content represents either a directory or a file in the local file system.
com::sun::star::ucb::PackageFolderContent A PCP Folder is a container for other PCP Folders and PCP Streams.
com::sun::star::ucb::PackageStreamContent A PCP Stream is a content which represents a file inside a package.
com::sun::star::ucb::WebDAVDocumentContent A DCP Document is a container for Document data/content.
com::sun::star::ucb::HierarchyLinkContent A HCP Link is a content which points to another location.
com::sun::star::ucb::ChaosContent [ DEPRECATED ]
A Chaos Content is a representation of a resource provided by the Chaos Content Provider.
com::sun::star::ucb::Content A Content is a service that provides access to data of a content provided by an implementation of the service ContentProvider .

Methods' Summary

addProperty adds a property to the object.
removeProperty removes a property from the object.

Methods' Details

addProperty
 
void
addProperty(
[ in ] string Name,
[ in ] short Attributes,
[ in ] any DefaultValue )
raises ( com::sun::star::beans::PropertyExistException, com::sun::star::beans::IllegalTypeException, com::sun::star::lang::IllegalArgumentException );

Description
adds a property to the object.
Parameter aName
specifies the name of the new property.
Parameter xType
specifies the type of the new property.
Throws
PropertyExistException if a property with the same name already exists.
Throws
IllegalTypeException if the specified type is not allowed.
See also
com::sun::star::beans::PropertyAttribute
removeProperty
 
void
removeProperty(
[ in ] string Name )
raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::NotRemoveableException );

Description
removes a property from the object.
Parameter aName
specified the name of the property.
Throws
UnknownPropertyException if the property does not exist.

Top of Page