public class BuilderEntity extends BaseEntityBuilder<OWLEntity,BuilderEntity>
Constructor and Description |
---|
BuilderEntity(OWLClass expected,
OWLDataFactory df)
builder initialized from an existing object
|
BuilderEntity(OWLDataFactory df) |
Modifier and Type | Method and Description |
---|---|
OWLEntity |
buildObject() |
EntityType<?> |
getEntityType() |
BuilderEntity |
withType(EntityType<?> arg) |
getIRI, getPM, getString, withIRI, withPrefixedIRI, withPrefixManager
applyChanges, withAnnotation, withAnnotations
@Inject public BuilderEntity(OWLDataFactory df)
df
- data factorypublic BuilderEntity(@Nonnull OWLClass expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Nonnull public BuilderEntity withType(EntityType<?> arg)
arg
- entity type@Nonnull public EntityType<?> getEntityType()
public OWLEntity buildObject()
buildObject
in interface Builder<OWLEntity>
buildObject
in class BaseBuilder<OWLEntity,BuilderEntity>
Copyright © 2020 The University of Manchester. All rights reserved.