public interface Entity extends Thing
An instance of Entity Type EntityType
This represents an entity in the graph.
Entities are objects which are defined by their Resource and their links to
other entities via Relation
| Modifier and Type | Method and Description |
|---|---|
Entity |
resource(Resource resource)
Creates a relation from this instance to the provided resource.
|
EntityType |
type()
Return the Type of the Concept.
|
asEntity, asEntityType, asInstance, asOntologyConcept, asRelation, asRelationType, asResource, asResourceType, asRoleType, asRule, asRuleType, asType, delete, getId, isEntity, isEntityType, isInstance, isOntologyConcept, isRelation, isRelationType, isResource, isResourceType, isRoleType, isRule, isRuleType, isTypecompareToEntityType type()
Thingtype in interface ThingEntityTypeCopyright © 2017 Grakn Labs Ltd. All rights reserved.