public class BuilderEntity extends BaseEntityBuilder<OWLEntity,BuilderEntity>
Constructor and Description |
---|
BuilderEntity(OWLDataFactory df) |
BuilderEntity(OWLEntity expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
OWLEntity |
buildObject() |
EntityType<?> |
getEntityType() |
BuilderEntity |
withType(EntityType<?> arg) |
getIRI, getPM, getString, withIRI, withPrefixedIRI, withPrefixManager
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
@Inject public BuilderEntity(OWLDataFactory df)
df
- data factorypublic BuilderEntity(OWLEntity expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderEntity withType(EntityType<?> arg)
arg
- entity typepublic 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.