public abstract class AbstractNamedRelationDefinition extends AbstractRelationDefinition implements NamedRelationDefinition
RelationDefinition.AttributeListBuilder| Modifier and Type | Method and Description |
|---|---|
void |
addForeignKeyConstraint(ForeignKeyConstraint fk)
adds a foreign key constraints
|
void |
addFunctionalDependency(FunctionalDependency constraint) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<RelationID> |
getAllIDs() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ForeignKeyConstraint> |
getForeignKeys()
returns the list of foreign key constraints
|
RelationID |
getID() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<FunctionalDependency> |
getOtherFunctionalDependencies() |
Optional<UniqueConstraint> |
getPrimaryKey() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<UniqueConstraint> |
getUniqueConstraints()
returns the list of unique constraints (including the primary key if present)
|
attributeListBuilder, getAtomPredicate, getAttribute, getAttribute, getAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAtomPredicate, getAttribute, getAttribute, getAttributespublic RelationID getID()
getID in interface NamedRelationDefinitionpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<RelationID> getAllIDs()
getAllIDs in interface NamedRelationDefinitionpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<UniqueConstraint> getUniqueConstraints()
getUniqueConstraints in interface RelationDefinitionpublic void addFunctionalDependency(FunctionalDependency constraint)
addFunctionalDependency in interface NamedRelationDefinitionpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<FunctionalDependency> getOtherFunctionalDependencies()
getOtherFunctionalDependencies in interface RelationDefinitionpublic Optional<UniqueConstraint> getPrimaryKey()
getPrimaryKey in interface NamedRelationDefinitionpublic void addForeignKeyConstraint(ForeignKeyConstraint fk)
addForeignKeyConstraint in interface NamedRelationDefinitionfk - a foreign keypublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ForeignKeyConstraint> getForeignKeys()
getForeignKeys in interface RelationDefinitionCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.