Package oracle.pgx.api
Class Namespace
- java.lang.Object
 - 
- oracle.pgx.api.Namespace
 
 
- 
public class Namespace extends java.lang.ObjectRepresents a namespace for objects (e.g. graphs, properties) in PGX 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static NamespacefromId(oracle.pgx.common.PgxId namespaceId)Creates a namespace from the givenPgxId.oracle.pgx.common.PgxIdgetNamespaceId()inthashCode()java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
fromId
public static Namespace fromId(oracle.pgx.common.PgxId namespaceId)
Creates a namespace from the givenPgxId.Throws an exception if no namespace with the given id exists.
- Parameters:
 namespaceId- an id that represents a namespace- Returns:
 - a namespace associated with the id
 
 
- 
getNamespaceId
public oracle.pgx.common.PgxId getNamespaceId()
- Returns:
 - the id associated with this namespace
 
 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -