Author: tfischer
Date: Wed May 2 12:37:04 2012
New Revision: 1333016
URL: http://svn.apache.org/viewvc?rev=1333016&view=rev
Log:
improve javadoc
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/Platform.java
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/SchemaTypeHelper.java
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SqlType.java
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/Platform.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/Platform.java?rev=1333016&r1=1333015&r2=1333016&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/Platform.java
(original)
+++
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/Platform.java
Wed May 2 12:37:04 2012
@@ -31,12 +31,12 @@ import org.apache.torque.templates.typem
public interface Platform
{
/**
- * Returns the db specific sql Type for a Torque Type.
+ * Returns the db specific SQL type for a Torque type.
*
- * @param schemaType the schema type, not null.
+ * @param schemaType the Torque type, not null.
*
- * @return the db specific domain, or null if no domain is defined
- * for the given schema type.
+ * @return the db specific SQL type, or null if no SQL type is defined
+ * for the given Torque type.
*/
SqlType getSqlTypeForSchemaType(SchemaType schemaType);
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/SchemaTypeHelper.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/SchemaTypeHelper.java?rev=1333016&r1=1333015&r2=1333016&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/SchemaTypeHelper.java
(original)
+++
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/SchemaTypeHelper.java
Wed May 2 12:37:04 2012
@@ -94,11 +94,11 @@ public final class SchemaTypeHelper
/**
* Returns the SQL type for a schema type and the specified target
database.
*
- * @param schemaType the schema type for which the domain should be
+ * @param schemaType the schema type for which the SQL type should be
* determined, not null.
* @param controllerState the controller state, not null.
*
- * @return the domain for the schema type, or null if no domain
+ * @return the the SQL type for the schema type, or null if no SQL type
* exists for the schema type.
*/
public static SqlType getSqlType(
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SqlType.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SqlType.java?rev=1333016&r1=1333015&r2=1333016&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SqlType.java
(original)
+++
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SqlType.java
Wed May 2 12:37:04 2012
@@ -155,14 +155,9 @@ public class SqlType
*
* @param sqlType the SQL type, to copy, not null.
* @param size the default size of the columns with this SQL type.
- * Can be overridden in the column definition.
- * If null, the size from sqlType is used.
* @param scale the default scale of the columns with this SQL type.
- * Can be overridden in the column definition.
- * If null, the scale from sqlType is used.
- * @param defaultValue the default "default value" of the columns with this
- * SQL type. Can be overridden in the column definition.
- * If null, the defaultValue from sqlType is used.
+ยดยด * @param defaultValue the default "default value" of the columns with this
+ * SQL type.
*
* @throws NullPointerException if sqlType is null.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]