org.xBaseJ.rmi
Interface FieldInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
Field

public interface FieldInterface
extends java.rmi.Remote


Field Summary
static java.lang.String serviceName
           
 
Method Summary
 java.lang.String get()
          returns a Field's value by its relative position
 int getDecimalPositionCount()
          returns a Field's decimal position as defined in database by its relative position
 int getLength()
          returns a Field Length as defined in database
 java.lang.String getName()
          returns a Field's name by its relative position
 char getType()
          returns a Field type by its relative position
 void put(java.lang.String v)
          sets a Field's value by its relative position
 

Field Detail

serviceName

static final java.lang.String serviceName
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
                         throws java.rmi.RemoteException
returns a Field's name by its relative position

Returns:
String
Throws:
java.rmi.RemoteException

getType

char getType()
             throws java.rmi.RemoteException
returns a Field type by its relative position

Returns:
char
Throws:
java.rmi.RemoteException

getLength

int getLength()
              throws java.rmi.RemoteException
returns a Field Length as defined in database

Returns:
int
Throws:
java.rmi.RemoteException

getDecimalPositionCount

int getDecimalPositionCount()
                            throws java.rmi.RemoteException
returns a Field's decimal position as defined in database by its relative position

Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise
Throws:
java.rmi.RemoteException

get

java.lang.String get()
                     throws java.rmi.RemoteException
returns a Field's value by its relative position

Returns:
String
Throws:
java.rmi.RemoteException

put

void put(java.lang.String v)
         throws java.rmi.RemoteException
sets a Field's value by its relative position

Throws:
java.rmi.RemoteException