T - the type of the predicate on a conceptpublic abstract class Predicate<T> extends AtomicBase
AtomicBase extension serving as base class for predicate implementations.
| Modifier and Type | Method and Description |
|---|---|
int |
alphaEquivalenceHashCode() |
boolean |
equals(Object obj) |
protected abstract T |
extractPredicate(VarPattern pattern) |
T |
getPredicate() |
abstract String |
getPredicateValue() |
int |
hashCode() |
boolean |
isAlphaEquivalent(Object obj) |
boolean |
isStructurallyEquivalent(Object obj) |
int |
structuralEquivalenceHashCode() |
Set<String> |
validateAsRuleHead(Rule rule) |
checkValid, containsVar, copy, createCombinedPattern, getCombinedPattern, getParentQuery, getPattern, getVarName, getVarNames, inferTypes, inferTypes, isUserDefined, setParentQuery, toString, txclone, finalize, getClass, notify, notifyAll, wait, wait, waitisAtom, isCompatibleWith, isRelation, isResource, isSelectable, isType, validateOntologicallypublic Set<String> validateAsRuleHead(Rule rule)
validateAsRuleHead in interface AtomicvalidateAsRuleHead in class AtomicBasepublic boolean isAlphaEquivalent(Object obj)
public int alphaEquivalenceHashCode()
public boolean isStructurallyEquivalent(Object obj)
public int structuralEquivalenceHashCode()
public T getPredicate()
public abstract String getPredicateValue()
protected abstract T extractPredicate(VarPattern pattern)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.