mpoeschl 2002/12/18 06:24:37
Modified: src/java/org/apache/torque/engine/database/model
ForeignKey.java
xdocs changes.xml
Log:
TRQS98: Documentation changes in ForeignKey.java
Revision Changes Path
1.11 +18 -19
jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/ForeignKey.java
Index: ForeignKey.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/ForeignKey.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ForeignKey.java 29 Nov 2002 13:50:29 -0000 1.10
+++ ForeignKey.java 18 Dec 2002 14:24:37 -0000 1.11
@@ -60,7 +60,7 @@
import org.xml.sax.Attributes;
/**
- * A Class for information about foreign keys of a table.
+ * A class for information about foreign keys of a table.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Fedor</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
@@ -101,7 +101,7 @@
}
/**
- * normalizes the input of onDelete, onUpdate attributes
+ * Normalizes the input of onDelete, onUpdate attributes
*/
private String normalizeFKey(String attrib)
{
@@ -119,7 +119,7 @@
}
/**
- * returns whether or not the onUpdate attribute is set
+ * Returns whether or not the onUpdate attribute is set
*/
public boolean hasOnUpdate()
{
@@ -127,7 +127,7 @@
}
/**
- * returns whether or not the onDelete attribute is set
+ * Returns whether or not the onDelete attribute is set
*/
public boolean hasOnDelete()
{
@@ -135,7 +135,7 @@
}
/**
- * returns the onUpdate attribute
+ * Returns the onUpdate attribute
*/
public String getOnUpdate()
{
@@ -143,7 +143,7 @@
}
/**
- * returns the onDelete attribute
+ * Returns the onDelete attribute
*/
public String getOnDelete()
{
@@ -151,7 +151,7 @@
}
/**
- * sets the onDelete attribute
+ * Sets the onDelete attribute
*/
public void setOnDelete(String value)
{
@@ -159,7 +159,7 @@
}
/**
- * sets the onUpdate attribute
+ * Sets the onUpdate attribute
*/
public void setOnUpdate(String value)
{
@@ -215,7 +215,7 @@
}
/**
- * Returns the Name of the table the foreign key is in
+ * Returns the name of the table the foreign key is in
*/
public String getTableName()
{
@@ -223,7 +223,7 @@
}
/**
- * adds a new reference entry to the foreign key
+ * Adds a new reference entry to the foreign key
*/
public void addReference(Attributes attrib)
{
@@ -231,7 +231,7 @@
}
/**
- * adds a new reference entry to the foreign key
+ * Adds a new reference entry to the foreign key
*/
public void addReference(String local, String foreign)
{
@@ -240,7 +240,7 @@
}
/**
- * Return a comma delimited string of local column names
+ * Returns a comma delimited string of local column names
*/
public String getLocalColumnNames()
{
@@ -248,7 +248,7 @@
}
/**
- * Return a comma delimited string of foreign column names
+ * Returns a comma delimited string of foreign column names
*/
public String getForeignColumnNames()
{
@@ -256,7 +256,7 @@
}
/**
- * Return the list of local columns. You should not edit this List.
+ * Returns the list of local column names. You should not edit this List.
*/
public List getLocalColumns()
{
@@ -264,7 +264,7 @@
}
/**
- * Utility method to get local column to foreign column
+ * Utility method to get local column names to foreign column names
* mapping for this foreign key.
*/
public Hashtable getLocalForeignMapping()
@@ -280,7 +280,7 @@
}
/**
- * Return the list of local columns. You should not edit this List.
+ * Returns the list of local column names. You should not edit this List.
*/
public List getForeignColumns()
{
@@ -288,7 +288,7 @@
}
/**
- * Utility method to get local column to foreign column
+ * Utility method to get foreign column names to local column names
* mapping for this foreign key.
*/
public Hashtable getForeignLocalMapping()
@@ -327,4 +327,3 @@
return result.toString();
}
}
-
1.59 +7 -0 jakarta-turbine-torque/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/xdocs/changes.xml,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- changes.xml 14 Dec 2002 17:10:13 -0000 1.58
+++ changes.xml 18 Dec 2002 14:24:37 -0000 1.59
@@ -32,6 +32,10 @@
<li>
TRQS95: Junit tests for sql2xml task (SQLToAppDataTest)
</li>
+ <li>
+ Package names for generated java classes are now handled in the model
+ (not the templates)
+ </li>
</ul>
</p>
</subsection>
@@ -48,6 +52,9 @@
<li>
TRQS90: SQLScanner reports wrong line numbers in Window platforms and
behaves incorrectly when finding the minus sign
+ </li>
+ <li>
+ TRQS98: Documentation changes in ForeignKey.java
</li>
</ul>
</p>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>