Package org.hibernate.tool.orm.jbt.wrp
Class DelegatingForeignKeyWrapperImpl
- java.lang.Object
-
- org.hibernate.mapping.Constraint
-
- org.hibernate.mapping.ForeignKey
-
- org.hibernate.tool.orm.jbt.wrp.DelegatingForeignKeyWrapperImpl
-
- All Implemented Interfaces:
Serializable,org.hibernate.boot.model.relational.Exportable,ForeignKeyWrapper,Wrapper
public class DelegatingForeignKeyWrapperImpl extends org.hibernate.mapping.ForeignKey implements ForeignKeyWrapper
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegatingForeignKeyWrapperImpl(org.hibernate.mapping.ForeignKey fk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.hibernate.mapping.Column>columnIterator()booleancontainsColumn(org.hibernate.mapping.Column column)List<org.hibernate.mapping.Column>getReferencedColumns()org.hibernate.mapping.TablegetReferencedTable()org.hibernate.mapping.ForeignKeygetWrappedObject()booleanisReferenceToPrimaryKey()-
Methods inherited from class org.hibernate.mapping.ForeignKey
addReferencedColumns, alignColumns, disableCreation, generatedConstraintNamePrefix, getExportIdentifier, getKeyDefinition, getOnDeleteAction, getReferencedEntityName, isCascadeDeleteEnabled, isCreationEnabled, isPhysicalConstraint, setCascadeDeleteEnabled, setKeyDefinition, setName, setOnDeleteAction, setReferencedEntityName, setReferencedTable, sqlConstraintString, toString
-
-
-
-
Method Detail
-
getWrappedObject
public org.hibernate.mapping.ForeignKey getWrappedObject()
- Specified by:
getWrappedObjectin interfaceForeignKeyWrapper- Specified by:
getWrappedObjectin interfaceWrapper
-
columnIterator
public Iterator<org.hibernate.mapping.Column> columnIterator()
- Specified by:
columnIteratorin interfaceForeignKeyWrapper
-
getReferencedTable
public org.hibernate.mapping.Table getReferencedTable()
- Specified by:
getReferencedTablein interfaceForeignKeyWrapper- Overrides:
getReferencedTablein classorg.hibernate.mapping.ForeignKey
-
isReferenceToPrimaryKey
public boolean isReferenceToPrimaryKey()
- Specified by:
isReferenceToPrimaryKeyin interfaceForeignKeyWrapper- Overrides:
isReferenceToPrimaryKeyin classorg.hibernate.mapping.ForeignKey
-
getReferencedColumns
public List<org.hibernate.mapping.Column> getReferencedColumns()
- Specified by:
getReferencedColumnsin interfaceForeignKeyWrapper- Overrides:
getReferencedColumnsin classorg.hibernate.mapping.ForeignKey
-
containsColumn
public boolean containsColumn(org.hibernate.mapping.Column column)
- Specified by:
containsColumnin interfaceForeignKeyWrapper- Overrides:
containsColumnin classorg.hibernate.mapping.Constraint
-
-