2.17.2: 2011-06-17

net.sf.basedb.core
Class BatchedPropertyInfo

java.lang.Object
  extended by net.sf.basedb.core.BatchedPropertyInfo

public class BatchedPropertyInfo
extends Object

Holds information about a batchable property.

Version:
2.0
Author:
Nicklas
See Also:
ExtendableData
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $

Field Summary
private  String name
           
private  int sqlTypeCode
           
 
Constructor Summary
BatchedPropertyInfo(String name, int sqlTypeCode)
          Create a new extended property.
 
Method Summary
 String getName()
          Get the name of the property.
 int getSqlTypeCode()
          Get the sql type code as defined by Types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final String name

sqlTypeCode

private final int sqlTypeCode
Constructor Detail

BatchedPropertyInfo

BatchedPropertyInfo(String name,
                    int sqlTypeCode)
Create a new extended property. See the getter methods for a description of the parameters.

Method Detail

getName

public String getName()
Get the name of the property. This is the name that is used in queries.

Returns:
A string with the name

getSqlTypeCode

public int getSqlTypeCode()
Get the sql type code as defined by Types.

Returns:
The type code

2.17.2: 2011-06-17