Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.util
Class PropertyCollection

java.lang.Object
  extended by ag.ion.bion.officelayer.util.PropertyCollection

public class PropertyCollection
extends java.lang.Object

Collection for OpenOffice.org Uno object properties.


Constructor Summary
PropertyCollection()
          Constructs new PropertyCollection.
PropertyCollection(int initialCapacity)
          Constructs new PropertyCollection with the submitted initial capacity.
PropertyCollection(int initialCapacity, float loadFactor)
          Constructs new PropertyCollection with the submitted initial capacity and load factor.
 
Method Summary
 void addProperty(java.lang.String name, java.lang.Object value)
          Adds new property to the collection.
 boolean containesProperty(java.lang.String name)
          Returns information whether the property with the submitted name is availble in this collection.
static PropertyCollection getPropertyCollection(java.lang.Object object)
          Returns property collection of the submitted OpenOffice.org Uno object.
static PropertyCollection getPropertyCollection(com.sun.star.beans.XPropertySet xPropertySet)
          Returns property collection of the submitted OpenOffice.org XPropertySet.
static PropertyCollection getPropertyCollection(com.sun.star.beans.XPropertySet xPropertySet, java.lang.String[] names)
          Returns property collection of the submitted OpenOffice.org XPropertySet.
 java.util.Set getPropertyNames()
          Returns property names.
 java.lang.Object getPropertyValue(java.lang.String name)
          Returns value of the property with the submitted name.
static void setPropertyCollection(PropertyCollection propertyCollection, java.lang.Object object)
          Sets property collection to submitted OpenOffice.org Uno object.
static void setPropertyCollection(PropertyCollection propertyCollection, java.lang.Object object, java.lang.String[] orderProperties)
          Sets property collection to submitted OpenOffice.org Uno object.
static void setPropertyCollection(PropertyCollection propertyCollection, java.lang.Object object, java.lang.String[] orderProperties, java.lang.String[] excludeProperties)
          Sets property collection to submitted OpenOffice.org Uno object.
static void setPropertyCollection(PropertyCollection propertyCollection, com.sun.star.beans.XPropertySet xPropertySet, java.lang.String[] orderProperties, java.lang.String[] excludeProperties)
          Sets property collection to submitted OpenOffice.org XPropertySet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyCollection

public PropertyCollection()
Constructs new PropertyCollection.


PropertyCollection

public PropertyCollection(int initialCapacity)
Constructs new PropertyCollection with the submitted initial capacity.

Parameters:
initialCapacity - initial capacity of the collection

PropertyCollection

public PropertyCollection(int initialCapacity,
                          float loadFactor)
Constructs new PropertyCollection with the submitted initial capacity and load factor.

Parameters:
initialCapacity - initial capacity of the collection
loadFactor - load factor of the collection
Method Detail

addProperty

public void addProperty(java.lang.String name,
                        java.lang.Object value)
Adds new property to the collection.

Parameters:
name - name of the property
value - value of the property

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String name)
Returns value of the property with the submitted name.

Parameters:
name - name of the property.
Returns:
value of the property with the submitted name

getPropertyNames

public java.util.Set getPropertyNames()
Returns property names.

Returns:
property names

containesProperty

public boolean containesProperty(java.lang.String name)
Returns information whether the property with the submitted name is availble in this collection.

Parameters:
name - name of the property
Returns:
information whether the property with the submitted name is availble in this collection

getPropertyCollection

public static PropertyCollection getPropertyCollection(java.lang.Object object)
Returns property collection of the submitted OpenOffice.org Uno object.

Parameters:
object - OpenOffice.org Uno object
Returns:
property collection of the submitted OpenOffice.org Uno object

getPropertyCollection

public static PropertyCollection getPropertyCollection(com.sun.star.beans.XPropertySet xPropertySet)
Returns property collection of the submitted OpenOffice.org XPropertySet.

Parameters:
xPropertySet - OpenOffice.org XPropertySet
Returns:
property collection of the submitted OpenOffice.org XPropertySet

getPropertyCollection

public static PropertyCollection getPropertyCollection(com.sun.star.beans.XPropertySet xPropertySet,
                                                       java.lang.String[] names)
Returns property collection of the submitted OpenOffice.org XPropertySet.

Parameters:
xPropertySet - OpenOffice.org XPropertySet
names - names to properties to be used
Returns:
property collection of the submitted OpenOffice.org XPropertySet

setPropertyCollection

public static void setPropertyCollection(PropertyCollection propertyCollection,
                                         java.lang.Object object)
Sets property collection to submitted OpenOffice.org Uno object.

Parameters:
propertyCollection - property collection
object - OpenOffice.org Uno object

setPropertyCollection

public static void setPropertyCollection(PropertyCollection propertyCollection,
                                         java.lang.Object object,
                                         java.lang.String[] orderProperties)
Sets property collection to submitted OpenOffice.org Uno object.

Parameters:
propertyCollection - property collection
object - OpenOffice.org Uno object
orderProperties - property names to be set with the submitted order

setPropertyCollection

public static void setPropertyCollection(PropertyCollection propertyCollection,
                                         java.lang.Object object,
                                         java.lang.String[] orderProperties,
                                         java.lang.String[] excludeProperties)
Sets property collection to submitted OpenOffice.org Uno object.

Parameters:
propertyCollection - property collection
object - OpenOffice.org Uno object
orderProperties - property names to be set with the submitted order
excludeProperties - property names to be excluded

setPropertyCollection

public static void setPropertyCollection(PropertyCollection propertyCollection,
                                         com.sun.star.beans.XPropertySet xPropertySet,
                                         java.lang.String[] orderProperties,
                                         java.lang.String[] excludeProperties)
Sets property collection to submitted OpenOffice.org XPropertySet.

Parameters:
propertyCollection - property collection
xPropertySet - OpenOffice.org XPropertySet
orderProperties - property names to be set with the submitted order
excludeProperties - property names to be excluded

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013