Class UnoFactoryData

java.lang.Object
org.libreoffice.ide.eclipse.core.model.UnoFactoryData

public class UnoFactoryData extends Object
This class contains the data describing a the object to create by the Uno factory.
  • Constructor Details

    • UnoFactoryData

      public UnoFactoryData()
  • Method Details

    • setProperty

      public void setProperty(String key, Object value)
      Add or replace the property value associated with the key. Nothing happens if the key is null or an empty string.
      Parameters:
      key - the name of the property
      value - the value of the property
    • getProperty

      public Object getProperty(String key)
      Parameters:
      key - the key of the property to get.
      Returns:
      the property corresponding to the key or null if the key is null or an empty string or if there is such a key.
    • getKeys

      public 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 data)
      Adds an inner data if it is neither null nor already present in the inner data.
      Parameters:
      data - the data to add
    • removeInnerData

      public void removeInnerData(UnoFactoryData data)
      Removes an inner data if it isn't null and already present in the inner data.
      Parameters:
      data - the data to remove
    • dispose

      public void dispose()
      Destroy the data content before being garbage collected.