public class Individual extends AbstractSparqlElement implements SparqlElement, java.lang.Comparable<Individual>
| Constructor and Description |
|---|
Individual(IRI iri)
Constructor.
|
Individual(IRI iri,
boolean optional)
Constructor.
|
Individual(SparqlRequest request,
java.lang.String name)
Constructor.
|
Individual(SparqlRequest request,
java.lang.String name,
boolean optional)
Constructor.
|
Individual(SparqlRequest request,
java.lang.String prefix,
java.lang.String name)
Constructor.
|
Individual(SparqlRequest request,
java.lang.String prefix,
java.lang.String name,
boolean optional)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Individual o) |
boolean |
equals(java.lang.Object obj) |
IRI |
getIRI()
Return the IRI.
|
java.lang.String |
getName()
Return the name of the individual.
|
java.lang.String |
getPrefix()
Return the prefix.
|
int |
hashCode() |
boolean |
isOptional()
Return true if the Individual is optional.
|
getComment, hasComment, setCommentclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetComment, hasComment, setCommentpublic Individual(IRI iri)
iri - the IRI of the Individualpublic Individual(IRI iri, boolean optional)
iri - the IRI of the Individualoptional - true if the Individual is optionalpublic Individual(SparqlRequest request, java.lang.String name)
request - the requestname - the name of the Individualpublic Individual(SparqlRequest request, java.lang.String name, boolean optional)
request - the requestname - the name of the Individualoptional - true if the Individual is optionalpublic Individual(SparqlRequest request, java.lang.String prefix, java.lang.String name)
request - the requestname - the prefix of the Individualprefix - the name of the Individualpublic Individual(SparqlRequest request, java.lang.String prefix, java.lang.String name, boolean optional)
request - the requestname - the prefix of the Individualprefix - the name of the Individualoptional - true if the Individual is optionalpublic java.lang.String getPrefix()
public java.lang.String getName()
public IRI getIRI()
public boolean isOptional()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(Individual o)
compareTo in interface java.lang.Comparable<Individual>Copyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence