xBaseJ.rmi
Class Field
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--xBaseJ.rmi.Field
- All Implemented Interfaces:
- FieldInterface, java.rmi.Remote, java.io.Serializable
- public class Field
- extends java.rmi.server.UnicastRemoteObject
- implements FieldInterface
- See Also:
- Serialized Form
|
Constructor Summary |
Field(Field inField)
Constructor |
|
Method Summary |
java.lang.String |
get()
returns a Field 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 name by its relative position |
char |
getType()
returns a Field type by its relative position |
void |
put(java.lang.String v)
sets a Field value by its relative position |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field
public Field(Field inField)
throws java.rmi.RemoteException
- Constructor
getName
public java.lang.String getName()
throws java.rmi.RemoteException
- returns a Field name by its relative position
- Specified by:
getName in interface FieldInterface
- Throws:
xBaseJException -
getType
public char getType()
throws java.rmi.RemoteException
- returns a Field type by its relative position
- Specified by:
getType in interface FieldInterface
- Returns:
- char
- Throws:
xBaseJException -
getLength
public int getLength()
throws java.rmi.RemoteException
- returns a Field Length as defined in database
- Specified by:
getLength in interface FieldInterface
- 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
- Specified by:
getDecimalPositionCount in interface FieldInterface
- 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 value by its relative position
- Specified by:
get in interface FieldInterface
- Throws:
xBaseJException -
put
public void put(java.lang.String v)
throws java.rmi.RemoteException
- sets a Field value by its relative position
- Specified by:
put in interface FieldInterface
- Parameters:
v - Field value- Throws:
xBaseJException -