|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.engine.api.InstanceID
public class InstanceID
a class that wraps around an identifier for a report element instance
Field Summary | |
---|---|
protected DataID |
dataId
|
protected long |
designId
|
protected InstanceID |
parentId
|
protected long |
uid
|
Constructor Summary | |
---|---|
InstanceID(InstanceID parent,
InstanceID iid)
|
|
InstanceID(InstanceID parent,
long designId,
DataID dataId)
Constructor. |
|
InstanceID(InstanceID parent,
long uid,
long designId,
DataID dataId)
Constructor. |
Method Summary | |
---|---|
protected void |
append(java.lang.StringBuffer buffer)
Append unique id, designId, dataId to buffer. |
protected void |
appendUniqueID(java.lang.StringBuffer buffer)
Append uniqueID to buffer. |
long |
getComponentID()
returns the component id of the element |
DataID |
getDataID()
Get data id of the element. |
InstanceID |
getParentID()
Get parent id of this report element instance. |
long |
getUniqueID()
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(java.lang.String instanceId)
Parse the input string into an InstanceId object. |
java.lang.String |
toString()
|
java.lang.String |
toUniqueString()
Returns a string representation of the uniqueID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected InstanceID parentId
protected long uid
protected long designId
protected DataID dataId
Constructor Detail |
---|
public InstanceID(InstanceID parent, long designId, DataID dataId)
parent
- instance id of parentdesignId
- design iddataId
- data idpublic InstanceID(InstanceID parent, InstanceID iid)
public InstanceID(InstanceID parent, long uid, long designId, DataID dataId)
parent
- instance id of parentuid
- designId
- dataId
- Method Detail |
---|
public InstanceID getParentID()
public long getUniqueID()
public long getComponentID()
public DataID getDataID()
protected void append(java.lang.StringBuffer buffer)
buffer
- public java.lang.String toString()
toString
in class java.lang.Object
protected void appendUniqueID(java.lang.StringBuffer buffer)
buffer
- public java.lang.String toUniqueString()
public static InstanceID parse(java.lang.String instanceId)
instanceId
- the input string to parse
public static InstanceID parse(char[] buffer, int offset, int length)
buffer
- the input char buffer to parseoffset
- offset of the bufferlength
- length of the buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |