public interface VarAdmin extends PatternAdmin, Var
| Modifier and Type | Interface and Description |
|---|---|
static interface |
VarAdmin.Casting
A casting, a pair of role type and role player (where the role type may not be present)
|
asConjunction, asDisjunction, getDisjunctiveNormalForm, getVars, isConjunction, isDisjunctiondefault boolean isVar()
isVar in interface PatternAdmindefault VarAdmin asVar()
asVar in interface PatternAdminString getName()
void setName(String name)
name - the new variable name of this variableboolean isUserDefinedName()
java.util.stream.Stream<VarProperty> getProperties()
<T extends VarProperty> java.util.stream.Stream<T> getProperties(Class<T> type)
T - the type of VarProperty to returntype - the class of VarProperty to return<T extends UniqueVarProperty> Optional<T> getProperty(Class<T> type)
T - the type of VarProperty to returntype - the class of VarProperty to returnOptional<String> getId()
Optional<String> getIdOnly()
Set<VarAdmin> getImplicitInnerVars()
boolean isRelation()
String getPrintableName()
boolean hasNoProperties()
Set<ValuePredicateAdmin> getValuePredicates()
Set<?> getValueEqualsPredicates()
Map<VarAdmin,Set<ValuePredicateAdmin>> getResourcePredicates()
Set<VarAdmin.Casting> getCastings()
Copyright © 2016. All rights reserved.