|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.rdf.model.AnonId
public class AnonId
Create a new id for an anonymous node.
This id is guaranteed to be unique on this machine.
Constructor Summary | |
---|---|
AnonId()
Creates new AnonId. |
|
AnonId(java.lang.String id)
Create a new AnonId from the string argument supplied |
Method Summary | |
---|---|
static AnonId |
create()
|
static AnonId |
create(java.lang.String id)
|
boolean |
equals(java.lang.Object o)
Test whether two id's are the same |
java.lang.String |
getLabelString()
Answer the label string of this AnonId. |
int |
hashCode()
return a hashcode for this id |
java.lang.String |
toString()
return a string representation of the id |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnonId()
public AnonId(java.lang.String id)
id
- A string representation of the id to be created.Method Detail |
---|
public static AnonId create()
public static AnonId create(java.lang.String id)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to be compared
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLabelString()
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |