Class InstanceID

java.lang.Object
org.eclipse.birt.report.engine.api.InstanceID

public class InstanceID extends Object
a class that wraps around an identifier for a report element instance
  • Field Details

    • parentId

      protected InstanceID parentId
    • uid

      protected long uid
    • designId

      protected long designId
    • dataId

      protected DataID dataId
  • Constructor Details

    • InstanceID

      public InstanceID(InstanceID parent, long designId, DataID dataId)
      Constructor.
      Parameters:
      parent - instance id of parent
      designId - design id
      dataId - data id
    • InstanceID

      public InstanceID(InstanceID parent, InstanceID iid)
    • InstanceID

      public InstanceID(InstanceID parent, long uid, long designId, DataID dataId)
      Constructor.
      Parameters:
      parent - instance id of parent
      uid -
      designId -
      dataId -
  • Method Details

    • getParentID

      public InstanceID getParentID()
      Get parent id of this report element instance.
      Returns:
      parentId
    • getUniqueID

      public long getUniqueID()
      Get unique id of this report element instance.
      Returns:
      unique id
    • getComponentID

      public long getComponentID()
      returns the component id of the element
    • getDataID

      public DataID getDataID()
      Get data id of the element.
      Returns:
      dataId
    • append

      protected void append(StringBuffer buffer)
      Append unique id, designId, dataId to buffer.
      Parameters:
      buffer -
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • appendUniqueID

      protected void appendUniqueID(StringBuffer buffer)
      Append uniqueID to buffer.
      Parameters:
      buffer -
    • toUniqueString

      public String toUniqueString()
      Returns a string representation of the uniqueID.
      Returns:
    • parse

      public static InstanceID parse(String instanceId)
      Parse the input string into an InstanceId object.
      Parameters:
      instanceId - the input string to parse
      Returns:
      InstantceID object
    • parse

      public static InstanceID parse(char[] buffer, int offset, int length)
      Parse the input char buffer into an InstanceId object.
      Parameters:
      buffer - the input char buffer to parse
      offset - offset of the buffer
      length - length of the buffer
      Returns:
      InstanceID object