public class EntityTypeImpl extends TypeImpl<EntityType,Entity> implements EntityType
SchemaConcept used to represent categories.
A SchemaConcept which represents categories instances can fall within.
Any instance of a EntityType is called an Entity.
| Modifier and Type | Method and Description |
|---|---|
Entity |
addEntity() |
Entity |
addEntityInferred() |
static EntityTypeImpl |
create(VertexElement vertexElement,
EntityType type) |
static EntityTypeImpl |
from(EntityType entityType) |
static EntityTypeImpl |
get(VertexElement vertexElement) |
attribute, attributes, delete, deleteAttribute, deleteKey, deletePlays, directPlays, from, instances, isAbstract, key, keys, plays, plays, plays, property, setAbstractfrom, getLabel, getLabelId, getRulesOfConclusion, getRulesOfHypothesis, innerToString, isImplicit, setLabel, sub, subs, sup, sup, supsbaseType, caches, createShard, currentShard, deleteNode, equals, getId, hashCode, isDeleted, keyspace, shardCount, shards, toString, vertexclone, finalize, getClass, notify, notifyAll, wait, wait, waitasEntityType, attribute, deleteAttribute, deleteKey, deletePlays, instances, isEntityType, key, plays, setAbstract, setLabel, sub, subs, sup, sup, supsasType, attributes, isAbstract, isType, keys, playsasSchemaConcept, getLabel, getLabelId, getRulesOfConclusion, getRulesOfHypothesis, isImplicit, isSchemaConceptasAttribute, asAttributeType, asEntity, asRelationship, asRelationshipType, asRole, asRule, asThing, delete, getId, isAttribute, isAttributeType, isDeleted, isEntity, isRelationship, isRelationshipType, isRole, isRule, isThing, keyspacefromfrom, registerCache, txCacheClear, txCacheFlushpublic static EntityTypeImpl get(VertexElement vertexElement)
public static EntityTypeImpl create(VertexElement vertexElement, EntityType type)
public Entity addEntity()
addEntity in interface EntityTypepublic Entity addEntityInferred()
public static EntityTypeImpl from(EntityType entityType)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.