📄 foreignkey.html
字号:
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ForeignKey()"><!-- --></A><H3>
ForeignKey</H3>
<PRE>
public <B>ForeignKey</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="sqlConstraintString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
sqlConstraintString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>sqlConstraintString</B>(<A HREF="../../../org/hibernate/dialect/Dialect.html" title="class in org.hibernate.dialect">Dialect</A> dialect, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> constraintName, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defaultCatalog, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defaultSchema)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Constraint.html#sqlConstraintString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String, java.lang.String)">sqlConstraintString</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/Constraint.html" title="class in org.hibernate.mapping">Constraint</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getReferencedTable()"><!-- --></A><H3>
getReferencedTable</H3>
<PRE>
public <A HREF="../../../org/hibernate/mapping/Table.html" title="class in org.hibernate.mapping">Table</A> <B>getReferencedTable</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setReferencedTable(org.hibernate.mapping.Table)"><!-- --></A><H3>
setReferencedTable</H3>
<PRE>
public void <B>setReferencedTable</B>(<A HREF="../../../org/hibernate/mapping/Table.html" title="class in org.hibernate.mapping">Table</A> referencedTable) throws <A HREF="../../../org/hibernate/MappingException.html" title="class in org.hibernate">MappingException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/hibernate/MappingException.html" title="class in org.hibernate">MappingException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="alignColumns()"><!-- --></A><H3>
alignColumns</H3>
<PRE>
public void <B>alignColumns</B>()</PRE>
<DL>
<DD>Validates that columnspan of the foreignkey and the primarykey is the same. Furthermore it aligns the length of the underlying tables columns.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getReferencedEntityName()"><!-- --></A><H3>
getReferencedEntityName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getReferencedEntityName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setReferencedEntityName(java.lang.String)"><!-- --></A><H3>
setReferencedEntityName</H3>
<PRE>
public void <B>setReferencedEntityName</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> referencedEntityName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="sqlDropString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String)"><!-- --></A><H3>
sqlDropString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>sqlDropString</B>(<A HREF="../../../org/hibernate/dialect/Dialect.html" title="class in org.hibernate.dialect">Dialect</A> dialect, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defaultCatalog, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defaultSchema)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/RelationalModel.html#sqlDropString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String)">sqlDropString</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/mapping/RelationalModel.html" title="interface in org.hibernate.mapping">RelationalModel</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Constraint.html#sqlDropString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String)">sqlDropString</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/Constraint.html" title="class in org.hibernate.mapping">Constraint</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isCascadeDeleteEnabled()"><!-- --></A><H3>
isCascadeDeleteEnabled</H3>
<PRE>
public boolean <B>isCascadeDeleteEnabled</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setCascadeDeleteEnabled(boolean)"><!-- --></A><H3>
setCascadeDeleteEnabled</H3>
<PRE>
public void <B>setCascadeDeleteEnabled</B>(boolean cascadeDeleteEnabled)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isPhysicalConstraint()"><!-- --></A><H3>
isPhysicalConstraint</H3>
<PRE>
public boolean <B>isPhysicalConstraint</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getReferencedColumns()"><!-- --></A><H3>
getReferencedColumns</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getReferencedColumns</B>()</PRE>
<DL>
<DD>Returns the referenced columns if the foreignkey does not refer to the primary key
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isReferenceToPrimaryKey()"><!-- --></A><H3>
isReferenceToPrimaryKey</H3>
<PRE>
public boolean <B>isReferenceToPrimaryKey</B>()</PRE>
<DL>
<DD>Does this foreignkey reference the primary key of the reference table
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addReferencedColumns(java.util.Iterator)"><!-- --></A><H3>
addReferencedColumns</H3>
<PRE>
public void <B>addReferencedColumns</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> referencedColumnsIterator)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Constraint.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/Constraint.html" title="class in org.hibernate.mapping">Constraint</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ForeignKey.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/hibernate/mapping/DependantValue.html" title="class in org.hibernate.mapping"><B>PREV CLASS</B></A>
<A HREF="../../../org/hibernate/mapping/Formula.html" title="class in org.hibernate.mapping"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="ForeignKey.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -