E
- entity typepublic class EntityType<E extends OWLEntity> extends Object implements Serializable, HasShortForm, HasPrefixedName, HasIRI
Modifier and Type | Field and Description |
---|---|
static EntityType<OWLAnnotationProperty> |
ANNOTATION_PROPERTY
Annotation property entity.
|
static EntityType<OWLClass> |
CLASS
Class entity.
|
static EntityType<OWLDataProperty> |
DATA_PROPERTY
Data property entity.
|
static EntityType<OWLDatatype> |
DATATYPE
Datatype entity.
|
static EntityType<OWLNamedIndividual> |
NAMED_INDIVIDUAL
Named individual entity.
|
static EntityType<OWLObjectProperty> |
OBJECT_PROPERTY
Object property entity.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
accept(EntityTypeVisitorEx<T> visitor) |
E |
buildEntity(IRI i,
EntityProvider df)
Build an entity of this type, using the factory passed in as df.
|
IRI |
getIRI()
Gets the IRI of this object.
|
String |
getName() |
String |
getPluralPrintName() |
String |
getPrefixedName()
Gets the prefixed name.
|
String |
getPrintName() |
String |
getShortForm()
Gets the short form.
|
OWLRDFVocabulary |
getVocabulary() |
String |
toString() |
static List<EntityType<?>> |
values() |
public static final EntityType<OWLClass> CLASS
public static final EntityType<OWLObjectProperty> OBJECT_PROPERTY
public static final EntityType<OWLDataProperty> DATA_PROPERTY
public static final EntityType<OWLAnnotationProperty> ANNOTATION_PROPERTY
public static final EntityType<OWLNamedIndividual> NAMED_INDIVIDUAL
public static final EntityType<OWLDatatype> DATATYPE
public static List<EntityType<?>> values()
public OWLRDFVocabulary getVocabulary()
public String getName()
public String getPrintName()
public String getPluralPrintName()
public String getShortForm()
HasShortForm
getShortForm
in interface HasShortForm
public String getPrefixedName()
HasPrefixedName
getPrefixedName
in interface HasPrefixedName
public <T> Optional<T> accept(EntityTypeVisitorEx<T> visitor)
T
- return typevisitor
- visitor to acceptpublic E buildEntity(IRI i, EntityProvider df)
i
- iridf
- data factoryCopyright © 2020 The University of Manchester. All rights reserved.