
public abstract class ComparableIndividual extends ManagedIndividual implements Comparable
ManagedIndividual; in particular, the
 subclasses must override the following non-final static methods:
 getMaximum() and getMinimum().| Modifier and Type | Field and Description | 
|---|---|
static String | 
MY_URI  | 
static int | 
NON_COMPARABLE_INDIVIDUALS
To be used in the implementation of
  
Comparable.compareTo(Object), if the passed parameter
 is not comparable with the current individual. | 
OWL_NAMESPACE, TYPE_OWL_INDIVIDUAL, TYPE_OWL_THINGANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Modifier | Constructor and Description | 
|---|---|
protected  | 
ComparableIndividual()  | 
protected  | 
ComparableIndividual(String uri)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract int | 
compareTo(Object arg0)
Compare this object to the given object. 
 | 
boolean | 
equal(Object other)
Determines if this object equals the given object. 
 | 
ComparableIndividual | 
getClassMaximum()  | 
static ComparableIndividual | 
getClassMaximum(Class claz)  | 
ComparableIndividual | 
getClassMinimum()  | 
static ComparableIndividual | 
getClassMinimum(Class claz)  | 
String | 
getClassURI()
Get the class URI for this ManagedIndividual. 
 | 
static ComparableIndividual | 
getMaximum()
Returns the "largest" instance in this class, if it exists. 
 | 
static ComparableIndividual | 
getMinimum()
Returns the "smallest" instance in this class, if it exists. 
 | 
abstract ComparableIndividual | 
getNext()
Get the next value according to the total order of this comparable
 individual. 
 | 
abstract ComparableIndividual | 
getPrevious()
Get the previous value according to the total order of this comparable
 individual. 
 | 
boolean | 
greater(Object other)
Determines if this object is greater than the given object. 
 | 
boolean | 
greaterEqual(Object other)
Determines if this object is greater than or equals the given object. 
 | 
boolean | 
less(Object other)
Determines if this object is smaller than the given object. 
 | 
boolean | 
lessEqual(Object other)
Determines if this object is smaller than or equals the given object. 
 | 
abstract int | 
ord()
If there is a total strict order between the class members, then it must
 return the "serial number" of this instance, otherwise Integer.MIN_VALUE
 must be returned. 
 | 
checkCompatibility, checkMembership, copy, deepCopy, getClassRestrictionsOnProperty, getInstance, getNonAbstractSuperClasses, getNonabstractSuperClasses, getOntClassInfo, getPropSerializationType, getTypeURI, isRegisteredClassURI, isWellFormed, setProperty, setPropertyPathFromOffset, toManagedIndividualaddType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfPropertiesaddMultiLangProp, asList, asList, asRDFList, changeProperty, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteralpublic static final int NON_COMPARABLE_INDIVIDUALS
Comparable.compareTo(Object), if the passed parameter
 is not comparable with the current individual.public static final String MY_URI
protected ComparableIndividual()
protected ComparableIndividual(String uri)
public String getClassURI()
ManagedIndividualgetClassURI in class ManagedIndividualpublic static final ComparableIndividual getClassMaximum(Class claz)
public static final ComparableIndividual getClassMinimum(Class claz)
public static ComparableIndividual getMaximum()
public static ComparableIndividual getMinimum()
public abstract int compareTo(Object arg0)
compareTo in interface ComparableNON_COMPARABLE_INDIVIDUALS if two
         locations are not comparable.public final ComparableIndividual getClassMaximum()
public final ComparableIndividual getClassMinimum()
public abstract ComparableIndividual getNext()
public abstract ComparableIndividual getPrevious()
public final boolean equal(Object other)
public final boolean greater(Object other)
public final boolean greaterEqual(Object other)
public final boolean less(Object other)
public final boolean lessEqual(Object other)
public abstract int ord()
Copyright © 2018 universAAL Consortium. All rights reserved.