use of com.vaticle.typedb.core.pattern.constraint.thing.HasConstraint in project grakn by graknlabs.
the class ThingVariable method has.
public HasConstraint has(ThingVariable attribute) {
HasConstraint hasConstraint = new HasConstraint(this, attribute);
constrain(hasConstraint);
return hasConstraint;
}
Aggregations