public class ForeignKeyConstraintImpl extends Object implements ForeignKeyConstraint
ForeignKeyConstraint.Builder, ForeignKeyConstraint.Component| Modifier and Type | Method and Description |
|---|---|
static ForeignKeyConstraint.Builder |
builder(String name,
NamedRelationDefinition relation,
NamedRelationDefinition referencedRelation)
creates a FOREIGN KEY builder
|
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ForeignKeyConstraint.Component> |
getComponents()
returns the components of the foreign key constraint
each component defines a map from an attribute of the relation
to an attribute of the referenced relation
|
String |
getName()
returns the name of the foreign key constraint
|
NamedRelationDefinition |
getReferencedRelation()
returns referenced database relation
|
NamedRelationDefinition |
getRelation()
returns the relation with the foreign key
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofpublic static ForeignKeyConstraint.Builder builder(String name, NamedRelationDefinition relation, NamedRelationDefinition referencedRelation)
ForeignKeyConstraintbuilder in interface ForeignKeyConstraintpublic String getName()
getName in interface ForeignKeyConstraintpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ForeignKeyConstraint.Component> getComponents()
getComponents in interface ForeignKeyConstraintpublic NamedRelationDefinition getReferencedRelation()
getReferencedRelation in interface ForeignKeyConstraintpublic NamedRelationDefinition getRelation()
getRelation in interface ForeignKeyConstraintCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.