About the com.sybase.dpb package
The com.sybase.dpb package contains additional Java classes
required to implement applications that use generated JavaBeans
classes. This package is installed in the SybaseSharedProxy
Generator directory in a file called JDPBlib70.jar.
For more information about these classes and their methods,
see the online Help.
Class categories
There are four categories of class in the com.sybase.dpb package:
Category | Description |
---|---|
Holder classes | Use these classes when passing arguments by reference. These classes all include the word holder in their name. There are two holder classes for each supported data type: one for the data type itself and one for arrays of that data type |
Data type classes | Use these classes when passing PowerBuilder data types that don’t map directly to a Java class |
Connection class | Use this class to connect to the PowerBuilder server application |
Internal classes | These classes are used internally by other com.sybase.dpb classes. They are not listed in the following tables |
Classes
These are the classes in the com.sybase.dpb package:
Java class | Description |
---|---|
Blob | Class corresponding to the PowerScript blob data type |
Date | Class corresponding to the PowerScript date data type |
DateTime | Class corresponding to the PowerScript datetime data type |
JDPB_Connection | Used by your Java program to establish and maintain a connection to the PowerBuilder server applicationYou can establish connection properties all at once through the constructor or one at a time |
Time | Class corresponding to the PowerScript time data type |
Holder | Ancestor of all holder classes. You use holder classes when passing arguments by reference |
BigDecimalArrayHolder | Holder class to contain arrays of the BigDecimal class (PowerScript decimal data type). Use this class to pass decimal arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
BigDecimalHolder | Holder class to contain the BigDecimal class (PowerScript decimal data type). Use this class to pass decimal values by reference |
BlobArrayHolder | Holder class to contain arrays of the Blob class (PowerScript blob data type). Use this class to pass Blob arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
BlobHolder | Holder class to contain the Blob class (PowerScript blob data type). Use this class to pass blobs by reference |
BooleanArrayHolder | Holder class to contain arrays of the Boolean class (PowerScript boolean data type). Use this class to pass boolean arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
BooleanHolder | Holder class to contain the Boolean class (PowerScript boolean data type). Use this class to pass boolean values by reference |
CharacterArrayHolder | Holder class to contain arrays of the Character class (PowerScript character data type). Use this class to pass character arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
CharacterHolder | Holder class to contain the Character class (PowerScript character data type). Use this class to pass character values by reference |
DateArrayHolder | Holder class to contain arrays of the Date class (PowerScript date data type). Use this class to pass date arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
DateHolder | Holder class to contain the Date class (PowerScript date data type). Use this class to pass dates by reference |
DateTimeArrayHolder | Holder class to contain arrays of the DateTime class (PowerScript datetime data type). Use this class to pass datetime arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
DateTimeHolder | Holder class to contain the DateTime class (PowerScript datetime class). Use this class to pass datetimes by reference |
DoubleArrayHolder | Holder class to contain arrays of the Double class (PowerScript double data type). Use this class to pass double arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
DoubleHolder | Holder class to contain the Double class (PowerScript double data type). Use this class to pass double values by reference |
FloatArrayHolder | Holder class to contain arrays of the Float class (PowerScript real data type). Use this class to pass real arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
FloatHolder | Holder class to contain the Float class (PowerScript real data type). Use this class to pass real values by reference |
IntegerArrayHolder | Holder class to contain arrays of the Integer class (PowerScript long and unsignedinteger data types). Use this class to pass long and unsignedinteger arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
IntegerHolder | Holder class to contain the Integer class (PowerScript long and unsignedinteger data types). Use this class to pass long and unsignedinteger values by reference |
LongArrayHolder | Holder class to contain arrays of the Long class (PowerScript unsignedlong data type). Use this class to pass unsignedlong arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
LongHolder | Holder class to contain the Long class (PowerScript unsignedlong data type). Use this class to pass unsignedlong values by reference |
ShortArrayHolder | Holder class to contain arrays of the Short class (PowerScript integer data type). Use this class to pass integer arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
ShortHolder | Holder class to contain the Short class (PowerScript integer data type). Use this class to pass integer values by reference |
StringArrayHolder | Holder class to contain arrays of the String class (PowerScript string data type). Use this class to pass string arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
StringHolder | Holder class to contain the String class (PowerScript string data type). Use this class to pass string values by reference |
TimeArrayHolder | Holder class to contain arrays of the Time class (PowerScript time data type). Use this class to pass time arrays (up to three dimensions) by referenceEstablish array values through either the constructor or the setValue method |
TimeHolder | Holder class to contain the Time class (PowerScript time data type). Use this class to pass times by reference |
Exceptions
These are the exceptions:
Exception | Description |
---|---|
RemoteException exception | All methods generated by the JavaBeans proxy generator throw the RemoteException exception |
UnknownArgumentType Exception exception |
Exception thrown when a function passes an unknown data type in one of the arguments |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments