Package io.github.fupacat.ast
Class ForeignKeyConstraintDefinition
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.ConstraintDefinition
io.github.fupacat.ast.ForeignKeyConstraintDefinition
- All Implemented Interfaces:
Serializable
Represents the foreign key constraint.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe columns for the constraint.Represents the action to be taken at delete.Represents if the constraint is an enforced constraint.booleanTrue if not for replication was defined.The columns for the referenced table.The table that constraint references.Represents the action to be taken at update.Fields inherited from class io.github.fupacat.ast.ConstraintDefinition
ConstraintIdentifierFields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
Columns
The columns for the constraint. May have zero elements. -
ReferenceTableName
The table that constraint references. -
ReferencedTableColumns
The columns for the referenced table. -
DeleteAction
Represents the action to be taken at delete. -
UpdateAction
Represents the action to be taken at update. -
NotForReplication
public boolean NotForReplicationTrue if not for replication was defined. -
IsEnforced
Represents if the constraint is an enforced constraint.
-
-
Constructor Details
-
ForeignKeyConstraintDefinition
public ForeignKeyConstraintDefinition()
-
-
Method Details
-
accept
- Overrides:
acceptin classConstraintDefinition
-
acceptChildren
- Overrides:
acceptChildrenin classConstraintDefinition
-