public class TCProperty extends Object
Modifier and Type | Method and Description |
---|---|
static TCProperty |
createFwProperty(org.apache.commons.rdf.api.IRI iri)
Creates a new forward property.
|
static TCProperty |
createInvProperty(org.apache.commons.rdf.api.IRI iri)
Creates a new backward property.
|
boolean |
equals(Object obj) |
org.apache.commons.rdf.api.IRI |
getIri()
Get the IRI.
|
int |
hashCode() |
boolean |
isForward()
Tests whether the property is forward.
|
String |
toPrettyString() |
String |
toPrettyString(Map<String,String> prefixes) |
String |
toString() |
public static TCProperty createFwProperty(org.apache.commons.rdf.api.IRI iri)
iri
- public static TCProperty createInvProperty(org.apache.commons.rdf.api.IRI iri)
iri
- public boolean isForward()
public org.apache.commons.rdf.api.IRI getIri()
public String toPrettyString()
Copyright © 2019. All rights reserved.