Class InstanceID
java.lang.Object
org.eclipse.birt.report.engine.api.InstanceID
a class that wraps around an identifier for a report element instance
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstanceID
(InstanceID parent, long uid, long designId, DataID dataId) Constructor.InstanceID
(InstanceID parent, long designId, DataID dataId) Constructor.InstanceID
(InstanceID parent, InstanceID iid) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
append
(StringBuffer buffer) Append unique id, designId, dataId to buffer.protected void
appendUniqueID
(StringBuffer buffer) Append uniqueID to buffer.long
returns the component id of the elementGet data id of the element.Get parent id of this report element instance.long
Get unique id of this report element instance.static InstanceID
parse
(char[] buffer, int offset, int length) Parse the input char buffer into an InstanceId object.static InstanceID
Parse the input string into an InstanceId object.toString()
Returns a string representation of the uniqueID.
-
Field Details
-
parentId
-
uid
protected long uid -
designId
protected long designId -
dataId
-
-
Constructor Details
-
InstanceID
Constructor.- Parameters:
parent
- instance id of parentdesignId
- design iddataId
- data id
-
InstanceID
-
InstanceID
Constructor.- Parameters:
parent
- instance id of parentuid
-designId
-dataId
-
-
-
Method Details
-
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
Get data id of the element.- Returns:
- dataId
-
append
Append unique id, designId, dataId to buffer.- Parameters:
buffer
-
-
toString
-
appendUniqueID
Append uniqueID to buffer.- Parameters:
buffer
-
-
toUniqueString
Returns a string representation of the uniqueID.- Returns:
-
parse
Parse the input string into an InstanceId object.- Parameters:
instanceId
- the input string to parse- Returns:
- InstantceID object
-
parse
Parse the input char buffer into an InstanceId object.- Parameters:
buffer
- the input char buffer to parseoffset
- offset of the bufferlength
- length of the buffer- Returns:
- InstanceID object
-