📄 onetoone.html
字号:
createForeignKey</H3>
<PRE>
public void <B>createForeignKey</B>() throws <A HREF="../../../org/hibernate/MappingException.html" title="class in org.hibernate">MappingException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Value.html#createForeignKey()">createForeignKey</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/mapping/Value.html" title="interface in org.hibernate.mapping">Value</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/ToOne.html#createForeignKey()">createForeignKey</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/ToOne.html" title="class in org.hibernate.mapping">ToOne</A></CODE></DL>
</DD>
<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="getConstraintColumns()"><!-- --></A><H3>
getConstraintColumns</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>getConstraintColumns</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/SimpleValue.html#getConstraintColumns()">getConstraintColumns</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/SimpleValue.html" title="class in org.hibernate.mapping">SimpleValue</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isConstrained()"><!-- --></A><H3>
isConstrained</H3>
<PRE>
public boolean <B>isConstrained</B>()</PRE>
<DL>
<DD>Returns the constrained.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="getForeignKeyType()"><!-- --></A><H3>
getForeignKeyType</H3>
<PRE>
public <A HREF="../../../org/hibernate/type/ForeignKeyDirection.html" title="class in org.hibernate.type">ForeignKeyDirection</A> <B>getForeignKeyType</B>()</PRE>
<DL>
<DD>Returns the foreignKeyType.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>AssociationType.ForeignKeyType</DL>
</DD>
</DL>
<HR>
<A NAME="getIdentifier()"><!-- --></A><H3>
getIdentifier</H3>
<PRE>
public <A HREF="../../../org/hibernate/mapping/KeyValue.html" title="interface in org.hibernate.mapping">KeyValue</A> <B>getIdentifier</B>()</PRE>
<DL>
<DD>Returns the identifier.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Value</DL>
</DD>
</DL>
<HR>
<A NAME="setConstrained(boolean)"><!-- --></A><H3>
setConstrained</H3>
<PRE>
public void <B>setConstrained</B>(boolean constrained)</PRE>
<DL>
<DD>Sets the constrained.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>constrained</CODE> - The constrained to set</DL>
</DD>
</DL>
<HR>
<A NAME="setForeignKeyType(org.hibernate.type.ForeignKeyDirection)"><!-- --></A><H3>
setForeignKeyType</H3>
<PRE>
public void <B>setForeignKeyType</B>(<A HREF="../../../org/hibernate/type/ForeignKeyDirection.html" title="class in org.hibernate.type">ForeignKeyDirection</A> foreignKeyType)</PRE>
<DL>
<DD>Sets the foreignKeyType.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>foreignKeyType</CODE> - The foreignKeyType to set</DL>
</DD>
</DL>
<HR>
<A NAME="setIdentifier(org.hibernate.mapping.KeyValue)"><!-- --></A><H3>
setIdentifier</H3>
<PRE>
public void <B>setIdentifier</B>(<A HREF="../../../org/hibernate/mapping/KeyValue.html" title="interface in org.hibernate.mapping">KeyValue</A> identifier)</PRE>
<DL>
<DD>Sets the identifier.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>identifier</CODE> - The identifier to set</DL>
</DD>
</DL>
<HR>
<A NAME="isNullable()"><!-- --></A><H3>
isNullable</H3>
<PRE>
public boolean <B>isNullable</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Value.html#isNullable()">isNullable</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/mapping/Value.html" title="interface in org.hibernate.mapping">Value</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/SimpleValue.html#isNullable()">isNullable</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/SimpleValue.html" title="class in org.hibernate.mapping">SimpleValue</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="accept(org.hibernate.mapping.ValueVisitor)"><!-- --></A><H3>
accept</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>accept</B>(<A HREF="../../../org/hibernate/mapping/ValueVisitor.html" title="interface in org.hibernate.mapping">ValueVisitor</A> visitor)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/Value.html#accept(org.hibernate.mapping.ValueVisitor)">accept</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/mapping/Value.html" title="interface in org.hibernate.mapping">Value</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/hibernate/mapping/ToOne.html#accept(org.hibernate.mapping.ValueVisitor)">accept</A></CODE> in class <CODE><A HREF="../../../org/hibernate/mapping/ToOne.html" title="class in org.hibernate.mapping">ToOne</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/OneToOne.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/OneToMany.html" title="class in org.hibernate.mapping"><B>PREV CLASS</B></A>
<A HREF="../../../org/hibernate/mapping/PersistentClass.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="OneToOne.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 | <A HREF="#fields_inherited_from_class_org.hibernate.mapping.ToOne">FIELD</A> | <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 + -