public abstract class AbstractRelationDefinition extends Object implements RelationDefinition
RelationDefinition.AttributeListBuilder| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRelationDefinition(String predicateName,
RelationDefinition.AttributeListBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
static RelationDefinition.AttributeListBuilder |
attributeListBuilder() |
RelationPredicate |
getAtomPredicate() |
Attribute |
getAttribute(int index)
gets the attribute with the specified position
|
Attribute |
getAttribute(QuotedID id)
gets the attribute with the specified ID
|
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Attribute> |
getAttributes()
the list of attributes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetForeignKeys, getOtherFunctionalDependencies, getUniqueConstraintsprotected AbstractRelationDefinition(String predicateName, RelationDefinition.AttributeListBuilder builder)
public Attribute getAttribute(int index)
getAttribute in interface RelationDefinitionindex - is position starting at 1public Attribute getAttribute(QuotedID id) throws AttributeNotFoundException
getAttribute in interface RelationDefinitionid - AttributeNotFoundExceptionpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Attribute> getAttributes()
getAttributes in interface RelationDefinitionpublic RelationPredicate getAtomPredicate()
getAtomPredicate in interface RelationDefinitionpublic static RelationDefinition.AttributeListBuilder attributeListBuilder()
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.