com.ontotext.ordi.trree
Class LazyTStatementImpl
java.lang.Object
com.ontotext.ordi.trree.LazyTStatementImpl
- All Implemented Interfaces:
- TStatement, Serializable, Statement
public class LazyTStatementImpl
- extends Object
- implements TStatement
- See Also:
- Serialized Form
Constructor Summary |
LazyTStatementImpl(int isubj,
int ipred,
int iobj,
int icontext,
com.ontotext.trree.owlim_ext.EntityPool pool,
com.ontotext.trree.owlim_ext.AbstractRepository repository)
|
LazyTStatementImpl(Resource subj,
URI pred,
Value obj,
URI context,
com.ontotext.trree.owlim_ext.EntityPool pool,
com.ontotext.trree.owlim_ext.AbstractRepository repository)
|
LazyTStatementImpl
public LazyTStatementImpl(int isubj,
int ipred,
int iobj,
int icontext,
com.ontotext.trree.owlim_ext.EntityPool pool,
com.ontotext.trree.owlim_ext.AbstractRepository repository)
LazyTStatementImpl
public LazyTStatementImpl(Resource subj,
URI pred,
Value obj,
URI context,
com.ontotext.trree.owlim_ext.EntityPool pool,
com.ontotext.trree.owlim_ext.AbstractRepository repository)
getSubject
public Resource getSubject()
- Specified by:
getSubject
in interface Statement
getPredicate
public URI getPredicate()
- Specified by:
getPredicate
in interface Statement
getObject
public Value getObject()
- Specified by:
getObject
in interface Statement
getContext
public Resource getContext()
- Specified by:
getContext
in interface Statement
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Statement
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Statement
- Overrides:
hashCode
in class Object
getTriplesetIterator
public Iterator<URI> getTriplesetIterator()
- Description copied from interface:
TStatement
- Gets iterator to the associated triplesets for this statement instance.
- Specified by:
getTriplesetIterator
in interface TStatement
- Returns:
- iterator with the associated triplests
isMemberOf
public boolean isMemberOf(URI uri)
- Description copied from interface:
TStatement
- Checks if this statement is associated with a specific tripleset URI.
- Specified by:
isMemberOf
in interface TStatement
- Parameters:
uri
- the tripleset identifier to be checked
- Returns:
- true if the statement is associated or false if otherwise
Copyright © 2008. All Rights Reserved.