Java Doc for Value.java in  » Database-ORM » Torque » com » workingdogs » village » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » Torque » com.workingdogs.village 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.workingdogs.village.Value

Value
public class Value (Code)
A Value represents a single cell in a database table. In other words, it is the cross between a row and column and contains the information held there.
author:
   Jon S. Stevens
version:
   $Revision: 568 $



Constructor Summary
public  Value(ResultSet rs, int columnNumber, int type)
    

Method Summary
public  BigDecimalasBigDecimal()
    
public  BigDecimalasBigDecimal(int scale)
    
public  booleanasBoolean()
    
public  BooleanasBooleanObj()
    
public  byteasByte()
    
public  ByteasByteObj()
    
public  byte[]asBytes()
    
public  java.sql.DateasDate()
    
public  doubleasDouble()
    
public  DoubleasDoubleObj()
    
public  floatasFloat()
    
public  FloatasFloatObj()
    
public  intasInt()
    
public  IntegerasIntegerObj()
    
public  longasLong()
    
public  LongasLongObj()
    
public  shortasShort()
    
public  ShortasShortObj()
    
public  StringasString()
    
public  TimeasTime()
    
public  TimestampasTimestamp()
    
public  java.util.DateasUtilDate()
    
 intcolumnNumber()
     Gets the columnNumber which this value represents.
 ObjectgetValue()
    
public  booleanisBigDecimal()
    
public  booleanisBoolean()
    
public  booleanisByte()
    
public  booleanisBytes()
    
public  booleanisDate()
    
public  booleanisDouble()
    
public  booleanisFloat()
    
public  booleanisInt()
    
public  booleanisLong()
    
public  booleanisNull()
    
public  booleanisShort()
    
public  booleanisString()
    
public  booleanisTime()
    
public  booleanisTimestamp()
    
public  booleanisUtilDate()
    
 voidsetPreparedStatementValue(PreparedStatement stmt, int stmtNumber)
    
 voidsetValue(Object value)
    
public  StringtoString()
    
public  inttype()
    


Constructor Detail
Value
public Value(ResultSet rs, int columnNumber, int type) throws SQLException(Code)
Creates a new Value object based on the ResultSet, columnNumber and type
Parameters:
  rs -
Parameters:
  columnNumber -
Parameters:
  type -
exception:
  SQLException -




Method Detail
asBigDecimal
public BigDecimal asBigDecimal() throws DataSetException(Code)
Get the value as a BigDecimal a BigDecimal
exception:
  DataSetException -



asBigDecimal
public BigDecimal asBigDecimal(int scale) throws DataSetException(Code)
Get the value as a BigDecimal
Parameters:
  scale - TODO: DOCUMENT ME! a BigDecimal
exception:
  DataSetException -



asBoolean
public boolean asBoolean() throws DataSetException(Code)
Get the value as a asBoolean a boolean
exception:
  DataSetException -



asBooleanObj
public Boolean asBooleanObj() throws DataSetException(Code)
Get the value as a Boolean object a Boolean
exception:
  DataSetException -



asByte
public byte asByte() throws DataSetException(Code)
Get the value as a asByte a byte
exception:
  DataSetException -



asByteObj
public Byte asByteObj() throws DataSetException(Code)
Get the value as a Byte Object a Byte
exception:
  DataSetException -



asBytes
public byte[] asBytes() throws DataSetException(Code)
Get the value as a asBytes a byte array
exception:
  DataSetException -



asDate
public java.sql.Date asDate() throws DataSetException(Code)
Get the value as a asDate a java.sql.Date
exception:
  DataSetException -



asDouble
public double asDouble() throws DataSetException(Code)
Get the value as a asDouble a double
exception:
  DataSetException -



asDoubleObj
public Double asDoubleObj() throws DataSetException(Code)
Get the value as a Double Object a Double
exception:
  DataSetException -



asFloat
public float asFloat() throws DataSetException(Code)
Get the value as a asFloat a float
exception:
  DataSetException -



asFloatObj
public Float asFloatObj() throws DataSetException(Code)
Get the value as a Float Obj a Float
exception:
  DataSetException -



asInt
public int asInt() throws DataSetException(Code)
Get the value as a asInt an int
exception:
  DataSetException -



asIntegerObj
public Integer asIntegerObj() throws DataSetException(Code)
Get the value as a Integer Ojbect an Integer
exception:
  DataSetException -



asLong
public long asLong() throws DataSetException(Code)
Get the value as a asLong a long
exception:
  DataSetException -



asLongObj
public Long asLongObj() throws DataSetException(Code)
Get the value as a Long Object a Long
exception:
  DataSetException -



asShort
public short asShort() throws DataSetException(Code)
Get the value as a asShort a short
exception:
  DataSetException -



asShortObj
public Short asShortObj() throws DataSetException(Code)
Get the value as a Short Object a Short
exception:
  DataSetException -



asString
public String asString()(Code)
Returns the string representation of this object a string



asTime
public Time asTime() throws DataSetException(Code)
Get the value as a asTime a Time
exception:
  DataSetException -



asTimestamp
public Timestamp asTimestamp() throws DataSetException(Code)
Get the value as a asTimestamp a Timestamp
exception:
  DataSetException -



asUtilDate
public java.util.Date asUtilDate() throws DataSetException(Code)
Get the value as a asUtilDate a java.util.Date
exception:
  DataSetException -



columnNumber
int columnNumber()(Code)
Gets the columnNumber which this value represents. an int



getValue
Object getValue()(Code)
Gets the object from this Value the object from this Value



isBigDecimal
public boolean isBigDecimal()(Code)
Is the value a isBigDecimal true if BigDecimal



isBoolean
public boolean isBoolean()(Code)
Is the value a isBoolean true if is Boolean



isByte
public boolean isByte()(Code)
Is the value a isByte true if is Byte



isBytes
public boolean isBytes()(Code)
Is the value a isBytes true if is byte[]



isDate
public boolean isDate()(Code)
Is the value a isDate true if is java.sql.Date



isDouble
public boolean isDouble()(Code)
Is the value a isDouble true if is Double



isFloat
public boolean isFloat()(Code)
Is the value a isFloat true if is Float



isInt
public boolean isInt()(Code)
Is the value a isInt true if is Integer



isLong
public boolean isLong()(Code)
Is the value a isLong true if is Long



isNull
public boolean isNull()(Code)
Is the value a isNull true if is null



isShort
public boolean isShort()(Code)
Is the value a isShort true if is Short



isString
public boolean isString()(Code)
Is the value a isString true if is String



isTime
public boolean isTime()(Code)
Is the value a isTime true if is java.sql.Time



isTimestamp
public boolean isTimestamp()(Code)
Is the value a isTimestamp true if is java.sql.Timestamp



isUtilDate
public boolean isUtilDate()(Code)
Is the value a isUtilDate true if is java.util.Date



setPreparedStatementValue
void setPreparedStatementValue(PreparedStatement stmt, int stmtNumber) throws DataSetException, SQLException(Code)
This is used in Record in order to do a saveWithInsert/Update/Delete
Parameters:
  stmt -
Parameters:
  stmtNumber -
exception:
  DataSetException -
exception:
  SQLException -



setValue
void setValue(Object value)(Code)
Sets the value of this object
Parameters:
  value -



toString
public String toString()(Code)
Returns the string representation of this object a string



type
public int type()(Code)
Return the type of this value the type of this value



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.