Class UnoFactoryData
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.model.UnoFactoryData
-
public class UnoFactoryData extends java.lang.ObjectThis class contains the data describing a the object to create by the Uno factory.
-
-
Constructor Summary
Constructors Constructor Description UnoFactoryData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInnerData(UnoFactoryData pData)Adds an inner data if it is neithernullnor already present in the inner data.voiddispose()Destroy the data content before being garbage collected.UnoFactoryData[]getInnerData()java.lang.String[]getKeys()java.lang.ObjectgetProperty(java.lang.String pKey)voidremoveInnerData(UnoFactoryData pData)Removes an inner data if it isn'tnulland already present in the inner data.voidsetProperty(java.lang.String pKey, java.lang.Object pValue)Add or replace the property value associated with the key.
-
-
-
Method Detail
-
setProperty
public void setProperty(java.lang.String pKey, java.lang.Object pValue)Add or replace the property value associated with the key. Nothing happens if the key isnullor an empty string.- Parameters:
pKey- the name of the propertypValue- the value of the property
-
getProperty
public java.lang.Object getProperty(java.lang.String pKey)
- Parameters:
pKey- the key of the property to get.- Returns:
- the property corresponding to the key or
nullif the key is null or an empty string or if there is such a key.
-
getKeys
public java.lang.String[] getKeys()
- Returns:
- an array of all the contained property keys
-
getInnerData
public UnoFactoryData[] getInnerData()
- Returns:
- an array of all the data contained by this data.
-
addInnerData
public void addInnerData(UnoFactoryData pData)
Adds an inner data if it is neithernullnor already present in the inner data.- Parameters:
pData- the data to add
-
removeInnerData
public void removeInnerData(UnoFactoryData pData)
Removes an inner data if it isn'tnulland already present in the inner data.- Parameters:
pData- the data to remove
-
dispose
public void dispose()
Destroy the data content before being garbage collected.
-
-