com.ontotext.ordi.tripleset.impl
Class TStatementImpl
java.lang.Object
org.openrdf.model.impl.StatementImpl
org.openrdf.model.impl.ContextStatementImpl
com.ontotext.ordi.tripleset.impl.TStatementImpl
- All Implemented Interfaces:
- TStatement, Serializable, Statement
public class TStatementImpl
- extends ContextStatementImpl
- implements TStatement
- See Also:
- Serialized Form
Constructor Summary |
TStatementImpl(Resource subject,
URI predicate,
Value object,
Resource context,
Set<URI> ts)
|
TStatementImpl(Resource subject,
URI predicate,
Value object,
Resource context,
URI... ts)
|
TStatementImpl(Statement statement,
Resource context,
Set<URI> ts)
|
TStatementImpl(Statement statement,
Resource context,
URI... ts)
|
tripleSets
protected final Set<URI> tripleSets
TStatementImpl
public TStatementImpl(Resource subject,
URI predicate,
Value object,
Resource context,
URI... ts)
TStatementImpl
public TStatementImpl(Resource subject,
URI predicate,
Value object,
Resource context,
Set<URI> ts)
TStatementImpl
public TStatementImpl(Statement statement,
Resource context,
URI... ts)
TStatementImpl
public TStatementImpl(Statement statement,
Resource context,
Set<URI> ts)
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
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Statement
- Overrides:
equals
in class StatementImpl
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Statement
- Overrides:
hashCode
in class StatementImpl
Copyright © 2008. All Rights Reserved.