public abstract class RelationDefinition extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
RelationDefinition(RelationID id) |
| Modifier and Type | Method and Description |
|---|---|
RelationPredicate |
getAtomPredicate()
Call it only after having completely assigned the attributes!
|
abstract Attribute |
getAttribute(int index) |
abstract List<Attribute> |
getAttributes() |
abstract com.google.common.collect.ImmutableList<ForeignKeyConstraint> |
getForeignKeys() |
RelationID |
getID() |
abstract com.google.common.collect.ImmutableList<FunctionalDependency> |
getOtherFunctionalDependencies() |
abstract UniqueConstraint |
getPrimaryKey() |
abstract com.google.common.collect.ImmutableList<UniqueConstraint> |
getUniqueConstraints() |
protected RelationDefinition(RelationID id)
public RelationID getID()
public abstract Attribute getAttribute(int index)
public RelationPredicate getAtomPredicate()
public abstract com.google.common.collect.ImmutableList<UniqueConstraint> getUniqueConstraints()
public abstract com.google.common.collect.ImmutableList<FunctionalDependency> getOtherFunctionalDependencies()
public abstract UniqueConstraint getPrimaryKey()
public abstract com.google.common.collect.ImmutableList<ForeignKeyConstraint> getForeignKeys()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.