org.jrdf.util
Class ModelsImpl
java.lang.Object
org.jrdf.util.ModelsImpl
- All Implemented Interfaces:
- Models
public class ModelsImpl
- extends Object
- implements Models
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRDF_NAMESPACE
public static final String JRDF_NAMESPACE
- Default name space for triples.
- See Also:
- Constant Field Values
ModelsImpl
public ModelsImpl(Graph newGraph)
hasGraph
public boolean hasGraph(String name)
- Specified by:
hasGraph in interface Models
addGraph
public long addGraph(String name)
- Specified by:
addGraph in interface Models
getName
public String getName(Resource resource)
- Specified by:
getName in interface Models
getId
public long getId(String graphName)
- Specified by:
getId in interface Models
getResources
public Set<Resource> getResources()
- Specified by:
getResources in interface Models
getId
public long getId(Resource resource)
- Specified by:
getId in interface Models