⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baseconstraint.html

📁 Axion 是一个小型的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="BaseConstraint(java.lang.String, java.lang.String)"><!-- --></A><H3>
BaseConstraint</H3>
<PRE>
public <B>BaseConstraint</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;name,                      <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;type)</PRE>
<DL>
<DD>Creates a <A HREF="../../../org/axiondb/Constraint.html"><CODE>Constraint</CODE></A> with the  given <i>name</i> and <i>type</i>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of this constraint (see <A HREF="../../../org/axiondb/constraints/BaseConstraint.html#setName(java.lang.String)"><CODE>setName(java.lang.String)</CODE></A>)             which may be <code>null</code><DD><CODE>type</CODE> - the type of this constraint (see <A HREF="../../../org/axiondb/constraints/BaseConstraint.html#getType()"><CODE>getType()</CODE></A>),              which should not be <code>null</code></DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="evaluate(org.axiondb.event.RowEvent)"><!-- --></A><H3>
evaluate</H3>
<PRE>
public abstract boolean <B>evaluate</B>(<A HREF="../../../org/axiondb/event/RowEvent.html">RowEvent</A>&nbsp;event)                          throws <A HREF="../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Evaluate the given <i>event</i> under me.  Returns <code>false</code> if the constraint I represent has been violated.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#evaluate(org.axiondb.event.RowEvent)">evaluate</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="resolve(org.axiondb.Database, org.axiondb.TableIdentifier)"><!-- --></A><H3>
resolve</H3>
<PRE>
public void <B>resolve</B>(<A HREF="../../../org/axiondb/Database.html">Database</A>&nbsp;db,                    <A HREF="../../../org/axiondb/TableIdentifier.html">TableIdentifier</A>&nbsp;table)             throws <A HREF="../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>This base implementation is a no-op.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#resolve(org.axiondb.Database, org.axiondb.TableIdentifier)">resolve</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Get my name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
<DL>
<DD>Sets the name of this constraint. When <i>name</i> is <code>null</code> a unique name is programatically generated.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#setName(java.lang.String)">setName</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getType</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Get a human-readable descrption of the type of constraint I represent.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isDeferred()"><!-- --></A><H3>
isDeferred</H3>
<PRE>
public boolean <B>isDeferred</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Return whether or not I am deferred.  Deferred constraints are not evaluated until the transaction is committed.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#isDeferred()">isDeferred</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setDeferred(boolean)"><!-- --></A><H3>
setDeferred</H3>
<PRE>
public void <B>setDeferred</B>(boolean&nbsp;deferred)                 throws <A HREF="../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Set whether or not I am deferred.  Deferred constraints are not evaluated until the transaction is committed.  Throws an exception if I am not <A HREF="../../../org/axiondb/Constraint.html#isDeferrable()"><CODE>deferrable</CODE></A> and <i>deferred</i> is <code>true</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#setDeferred(boolean)">setDeferred</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isDeferrable()"><!-- --></A><H3>
isDeferrable</H3>
<PRE>
public boolean <B>isDeferrable</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Return whether or not I am deferrable.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#isDeferrable()">isDeferrable</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setDeferrable(boolean)"><!-- --></A><H3>
setDeferrable</H3>
<PRE>
public void <B>setDeferrable</B>(boolean&nbsp;deferrable)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></B></DD>
<DD>Set whether or not I am deferrable.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Constraint.html#setDeferrable(boolean)">setDeferrable</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Constraint.html">Constraint</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BaseConstraint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../org/axiondb/constraints/BaseSelectableBasedConstraint.html"><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>  &nbsp;
&nbsp;<A HREF="BaseConstraint.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
Copyright &copy; 2002-2003 Axion Development Team. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -