You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/11/20 21:27:48 UTC
svn commit: r1204235 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
Author: tfischer
Date: Sun Nov 20 20:27:48 2011
New Revision: 1204235
URL: http://svn.apache.org/viewvc?rev=1204235&view=rev
Log:
White space fixes
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java?rev=1204235&r1=1204234&r2=1204235&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java Sun Nov 20 20:27:48 2011
@@ -37,13 +37,13 @@ public class ForeignKeyMap implements Se
/** The table to which the foreign key belongs, not null. */
private TableMap table;
- /**
+ /**
* The table which is referenced by the foreign key, can be null if
* the foreign table is not yet in the database map.
*/
private TableMap foreignTable;
- /**
+ /**
* The name of the foreign table, in the case that the foreign table
* map builder was not yet built when this foreign key was initialized.
*/
@@ -98,7 +98,7 @@ public class ForeignKeyMap implements Se
/**
* Adds a column pair to the foreign key.
- *
+ *
* @param columnPair the column pair to add, not null.
*/
public void addColumns(ColumnPair columnPair)
@@ -112,7 +112,7 @@ public class ForeignKeyMap implements Se
/**
* Returns the local table of the foreign key.
- *
+ *
* @return the referencing table, not null.
*/
public TableMap getTable()
@@ -124,7 +124,7 @@ public class ForeignKeyMap implements Se
* Returns the foreign table of the foreign key.
*
* @return the referenced table, not null.
- *
+ *
* @throws IllegalStateException if the foreign table map builder
* was not yet built.
*/
@@ -136,7 +136,7 @@ public class ForeignKeyMap implements Se
if (foreignTable == null)
{
throw new IllegalStateException(
- "Map builder for "
+ "Map builder for "
+ foreignTableName
+ " was not yet built.");
}
@@ -158,7 +158,6 @@ public class ForeignKeyMap implements Se
}
return foreignTable.getName();
}
-
/**
* Returns the column pairs.
@@ -174,25 +173,25 @@ public class ForeignKeyMap implements Se
* A pair of local and Foreign column.
* This class is immutable.
*/
- public static class ColumnPair
+ public static class ColumnPair
{
/**
* The foreign key map this ColumnPair belongs to.
*/
private ForeignKeyMap foreignKeyMap;
- /**
- * The foreign column of the pair, not null. *
+ /**
+ * The foreign column of the pair, not null.
*/
private ColumnMap local;
- /**
- * The foreign column of the pair, can be null if the
+ /**
+ * The foreign column of the pair, can be null if the
* foreign table was not yet in the database.
*/
private ColumnMap foreign;
- /**
+ /**
* The name of foreign column of the pair,
* or null if the foreign column is already filled.
*/
@@ -260,9 +259,9 @@ public class ForeignKeyMap implements Se
this.foreignName = foreignName;
}
- /**
+ /**
* Returns the associated foreign key map.
- *
+ *
* @return the associated foreign key map, not null.
*/
public ForeignKeyMap getForeignKeyMap()
@@ -270,9 +269,9 @@ public class ForeignKeyMap implements Se
return foreignKeyMap;
}
- /**
+ /**
* Returns the local column of the pair.
- *
+ *
* @return the local column of the pair, not null.
*/
public ColumnMap getLocal()
@@ -280,11 +279,11 @@ public class ForeignKeyMap implements Se
return local;
}
- /**
+ /**
* Returns the foreign column of the pair.
- *
+ *
* @return the foreign column of the pair, not null.
- *
+ *
* @throws IllegalStateException if the foreign table map builder
* was not yet built.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org