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

public static final java.lang.String serviceName
Method Detail

getName

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

getType

public char getType()
             throws java.rmi.RemoteException
returns a Field type by its relative position
Returns:
char
Throws:
java.rmi.RemoteException -  

getLength

public int getLength()
              throws java.rmi.RemoteException
returns a Field Length as defined in database
Returns:
int
Throws:
java.rmi.RemoteException -  

getDecimalPositionCount

public 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

public java.lang.String get()
                     throws java.rmi.RemoteException
returns a Field's value by its relative position
Parameters:
i - Field number
Returns:
String
Throws:
java.rmi.RemoteException -  

put

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