public abstract class RemoteRelationshipType extends RemoteConcept<SomeSchemaConcept> implements RelationshipType
RelationshipType| Constructor and Description |
|---|
RemoteRelationshipType() |
conceptStream, delete, id, isDeleted, keyspace, of, runMethod, runMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasRelationshipType, has, instances, isAbstract, isRelationshipType, key, label, plays, subs, sup, sup, sups, unhas, unkey, unplayasType, attributes, isAbstract, isType, keys, playingasSchemaConcept, isImplicit, isSchemaConcept, label, labelId, thenRules, whenRulesasAttribute, asAttributeType, asEntity, asEntityType, asRelationship, asRole, asRule, asThing, delete, id, isAttribute, isAttributeType, isDeleted, isEntity, isEntityType, isRelationship, isRole, isRule, isThing, keyspacepublic final Relationship create()
create in interface RelationshipTypepublic final java.util.stream.Stream<Role> roles()
roles in interface RelationshipTypepublic final RelationshipType relates(Role role)
relates in interface RelationshipTypepublic final RelationshipType unrelate(Role role)
unrelate in interface RelationshipTypeprotected final Relationship asInstance(Concept concept)
public final java.util.stream.Stream<SomeThing> instances()
public final Boolean isAbstract()
isAbstract in interface Typepublic final SomeType isAbstract(Boolean isAbstract) throws GraknTxOperationException
isAbstract in interface TypeGraknTxOperationExceptionpublic final java.util.stream.Stream<AttributeType> keys()
public final java.util.stream.Stream<AttributeType> attributes()
attributes in interface Typepublic final java.util.stream.Stream<Role> playing()
public final SomeType key(AttributeType attributeType) throws GraknTxOperationException
key in interface TypeGraknTxOperationExceptionpublic final SomeType has(AttributeType attributeType) throws GraknTxOperationException
has in interface TypeGraknTxOperationExceptionpublic final SomeType plays(Role role) throws GraknTxOperationException
plays in interface TypeGraknTxOperationExceptionpublic final SomeType unkey(AttributeType attributeType)
public final SomeType unhas(AttributeType attributeType)
public final SomeSchemaConcept sup(SomeSchemaConcept type)
public final Label label()
label in interface SchemaConceptpublic final Boolean isImplicit()
isImplicit in interface SchemaConceptpublic final SomeSchemaConcept label(Label label)
label in interface SchemaConcept@Nullable public final SomeSchemaConcept sup()
sup in interface SchemaConceptpublic final java.util.stream.Stream<SomeSchemaConcept> sups()
sups in interface SchemaConceptpublic final java.util.stream.Stream<SomeSchemaConcept> subs()
subs in interface SchemaConceptpublic final LabelId labelId()
labelId in interface SchemaConceptpublic final java.util.stream.Stream<Rule> whenRules()
whenRules in interface SchemaConceptpublic final java.util.stream.Stream<Rule> thenRules()
thenRules in interface SchemaConceptCopyright © 2018 Grakn Labs Ltd. All rights reserved.