public class Casting extends Object
Represents An Thing Playing a Role
Wraps the Schema.EdgeLabel#ROLE_PLAYER Edge which contains the information unifying an Thing,
Relationship and Role.
| Constructor and Description |
|---|
Casting(EdgeElement edgeElement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Relationship |
getRelationship() |
RelationshipType |
getRelationshipType() |
Role |
getRole() |
Thing |
getRolePlayer() |
int |
hashCode() |
public Casting(EdgeElement edgeElement)
public RelationshipType getRelationshipType()
RelationshipType the Thing is taking part inpublic Relationship getRelationship()
Relationship which is linking the Role and the instancepublic int hashCode()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.