|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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(String id)
Create a new AnonId from the string argument supplied |
|
| Method Summary | |
|---|---|
static AnonId |
create()
|
static AnonId |
create(String id)
|
boolean |
equals(Object o)
Test whether two id's are the same |
String |
getLabelString()
Answer the label string of this AnonId. |
int |
hashCode()
return a hashcode for this id |
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(String id)
id - A string representation of the id to be created.| Method Detail |
|---|
public static AnonId create()
public static AnonId create(String id)
public boolean equals(Object o)
equals in class Objecto - the object to be compared
public String toString()
toString in class Objectpublic String getLabelString()
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||