Package n10s.quadrdf
Class ContextResource
- java.lang.Object
-
- n10s.quadrdf.ContextResource
-
public class ContextResource extends java.lang.ObjectContextResource represents a Resource with an optional graph (context) uri.It is used as Key for the Maps containing labels and properties.
Created on 06.06.2019
- Author:
- Emre Arkan
- See Also:
RDFQuadDirectStatementLoader,RDFQuadDirectStatementDeleter
-
-
Constructor Summary
Constructors Constructor Description ContextResource(java.lang.String uri, java.lang.String graphUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetGraphUri()java.lang.StringgetUri()inthashCode()
-
-
-
Method Detail
-
getUri
public java.lang.String getUri()
- Returns:
- uri the URI of the current instance
-
getGraphUri
public java.lang.String getGraphUri()
- Returns:
- graphUri the graph URI of the current instance if given,
nullotherwise
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-