public interface Path
Path
interface represents a list of database segments for
the purpose of a DL/I retrieval, insert, delete, or update operation. The
Path
can be viewed as the concatenation of all of the segment
instances in a specific database hierarchic path, starting from the highest
level segment that is nearest the root segment to the lowest level segment.
Use the Path
interface to set or retrieve the value of any
segment field located in the hierarchic path.
The following code fragment shows how to create and use Path
to
get the value of the ILLNAME field in the ILLNESS segment and return it as a
String
. Path path = ssaList.getPathForRetrieveReplace(); if (pcb.getUnique(path, ssaList, false)) { String fieldValue = path.getString("ILLNESS", "ILLNAME"); }
Modifier and Type | Method and Description |
---|---|
void |
clearWarnings()
Clears all warnings reported on this Path object.
|
AIB |
getAIB()
Returns the AIB (Application Interface Block) associated with the most
recent DL/I call.
|
DBArray |
getArray(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a com.ibm.ims.dli.DBArray . |
DBArray |
getArray(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a com.ibm.ims.dli.DBArray . |
java.math.BigDecimal |
getBigDecimal(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a . |
java.math.BigDecimal |
getBigDecimal(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a java.math.BigDecimal . |
boolean |
getBoolean(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a boolean . |
boolean |
getBoolean(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a boolean . |
byte |
getByte(java.lang.String fieldName)
Retrieves the value of the designated field in the segment of this
Path object as a byte . |
byte |
getByte(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a byte . |
byte[] |
getBytes(java.lang.String fieldName)
Gets the value of the designated field in the
Path object as
a byte array. |
byte[] |
getBytes(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the designated field in the segment of this
Path object as a byte array. |
java.sql.Date |
getDate(java.lang.String fieldName)
Sets the value of the designated field in the
Path object as
a java.sql.Date . |
java.sql.Date |
getDate(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a java.sql.Date . |
double |
getDouble(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a double . |
double |
getDouble(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a double . |
java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.String>> |
getFields()
Returns a collection of fields in this path.
|
float |
getFloat(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a float . |
float |
getFloat(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a float . |
int |
getInt(java.lang.String fieldName)
Retrieves the value of the designated field in the segment of this
Path object as an int . |
int |
getInt(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as an int . |
long |
getLong(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a long . |
long |
getLong(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a long . |
PathMetaData |
getMetaData()
Retrieves the number, types and properties of the fields of this
Path object. |
java.lang.String |
getName()
Returns the names of the segment(s) contained in this
Path
as defined by the database metadata. |
java.lang.Object |
getObject(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as an in the Java Programming
Language. |
java.lang.Object |
getObject(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a . |
short |
getShort(java.lang.String fieldName)
Retrieves the value of the designated field in the
Path
object as a short . |
short |
getShort(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a short . |
java.lang.String |
getString(java.lang.String fieldName)
Gets the value of the designated field in the
Path object as
a java.lang.String . |
java.lang.String |
getString(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a java.lang.String . |
java.sql.Time |
getTime(java.lang.String fieldName)
Sets the value of the designated field in the
Path object as
a java.sql.Time . |
java.sql.Time |
getTime(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a java.sql.Time . |
java.sql.Timestamp |
getTimestamp(java.lang.String fieldName)
Sets the value of the designated field in the
Path object as
a java.sql.TimeStamp . |
java.sql.Timestamp |
getTimestamp(java.lang.String segmentName,
java.lang.String fieldName)
Retrieves the value of the field in the specified segment of this
Path object as a java.sql.TimeStamp . |
com.ibm.ims.dli.DLIWarning |
getWarnings()
Retrieves the first warning reported by calls on this Path object.
|
void |
setArray(java.lang.String fieldName,
DBArray value)
Sets the value of the designated field in the
Path object as
a com.ibm.ims.dli.DBArray . |
void |
setArray(java.lang.String segmentName,
java.lang.String fieldName,
DBArray value)
Sets the value of the field in the specified segment of this
Path object as a com.ibm.ims.dli.DBArray . |
void |
setBigDecimal(java.lang.String fieldName,
java.math.BigDecimal value)
Sets the value of the field in the
Path object as a
java.math.BigDecimal . |
void |
setBigDecimal(java.lang.String segmentName,
java.lang.String fieldName,
java.math.BigDecimal value)
Sets the value of the designated field in the segment of this
Path object as a java.math.BigDecimal . |
void |
setBoolean(java.lang.String fieldName,
boolean value)
Sets the value of the designated field in the
Path object as
a boolean . |
void |
setBoolean(java.lang.String segmentName,
java.lang.String fieldName,
boolean value)
Sets the value of the field in the specified segment of this
Path object as a boolean . |
void |
setByte(java.lang.String fieldName,
byte value)
Sets the value of the designated field in the segment of this
Path object as a byte . |
void |
setByte(java.lang.String segmentName,
java.lang.String fieldName,
byte value)
Sets the value of the field in the specified segment of this
Path object as a byte . |
void |
setBytes(java.lang.String fieldName,
byte[] value)
Sets the value of the designated field in the
Path object as
a byte array. |
void |
setBytes(java.lang.String segmentName,
java.lang.String fieldName,
byte[] value)
Sets the value of the designated field in the segment of this
Path object as a byte array. |
void |
setDate(java.lang.String fieldName,
java.sql.Date value)
Sets the value of the designated field in the
Path object as
a java.sql.Date . |
void |
setDate(java.lang.String segmentName,
java.lang.String fieldName,
java.sql.Date value)
Sets the value of the field in the specified segment of this
Path object as a java.sql.Date . |
void |
setDouble(java.lang.String fieldName,
double value)
Sets the value of the designated field in the
Path object as
a double . |
void |
setDouble(java.lang.String segmentName,
java.lang.String fieldName,
double value)
Sets the value of the field in the specified segment of this
Path object as a double . |
void |
setFloat(java.lang.String fieldName,
float value)
Sets the value of the designated field in the
Path object as
a float . |
void |
setFloat(java.lang.String segmentName,
java.lang.String fieldName,
float value)
Sets the value of the field in the specified segment of this
Path object as a float . |
void |
setInt(java.lang.String fieldName,
int value)
Sets the value of the designated field in the
Path object as
an int . |
void |
setInt(java.lang.String segmentName,
java.lang.String fieldName,
int value)
Sets the value of the field in the specified segment of this
Path object as an int . |
void |
setLong(java.lang.String fieldName,
long value)
Sets the value of the designated field in the
Path object as
a long . |
void |
setLong(java.lang.String segmentName,
java.lang.String fieldName,
long value)
Sets the value of the field in the specified segment of this
Path object as a long . |
void |
setObject(java.lang.String fieldName,
java.lang.Object value)
Sets the value of the designated field in the
Path object
with the Object value. |
void |
setObject(java.lang.String segmentName,
java.lang.String fieldName,
java.lang.Object value)
Sets the value of the designated field in the
Path object
with the java.lang.Object value. |
void |
setShort(java.lang.String fieldName,
short value)
Sets the value of the designated field in the s
Path object
as a short . |
void |
setShort(java.lang.String segmentName,
java.lang.String fieldName,
short value)
Sets the value of the field in the specified segment of this
Path object as a short . |
void |
setString(java.lang.String fieldName,
java.lang.String value)
Sets the value of the designated field in the
Path object as
a java.lang.String . |
void |
setString(java.lang.String segmentName,
java.lang.String fieldName,
java.lang.String value)
Sets the value of the field in the specified segment of this
Path object as an java.lang.String . |
void |
setTime(java.lang.String segmentName,
java.lang.String fieldName,
java.sql.Time value)
Sets the value of the field in the specified segment of this
Path object as a java.sql.Time . |
void |
setTime(java.lang.String fieldName,
java.sql.Time value)
Sets the value of the designated field in the
Path object as
a java.sql.Time . |
void |
setTimestamp(java.lang.String segmentName,
java.lang.String fieldName,
java.sql.Timestamp value)
Sets the value of the field in the specified segment of this
Path object as a java.sql.TimeStamp . |
void |
setTimestamp(java.lang.String fieldName,
java.sql.Timestamp value)
Sets the value of the designated field in the
Path object as
a java.sql.TimeStamp . |
boolean |
wasNull()
Reports whether the last field read had a value of NULL.
|
java.lang.String getName()
Path
as defined by the database metadata. If there is more than one segment,
the segment names are delimited with periods.
Note: Can be used when making unqualified DL/I calls with no SSAList to determine what type of segment was returned in order to make the proper getXXX (where 'XXX' is the data type; for example, getString) calls.
The following code fragment shows how the getName
method is
used.
String value = null; Path path = pcb.getNext(false); String name = path.getName(); // returns the name of the segment if (name.equals("PATIENT")) { value = path.getString("PATNAME"); } else if (name.equals("DOCTOR")) { value = path.getString("DOCNAME"); }
Path
.DBArray getArray(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a com.ibm.ims.dli.DBArray
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
DBArray
void setArray(java.lang.String segmentName, java.lang.String fieldName, DBArray value) throws DLIException
Path
object as a com.ibm.ims.dli.DBArray
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
DBArray
boolean getBoolean(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a boolean
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
void setBoolean(java.lang.String segmentName, java.lang.String fieldName, boolean value) throws DLIException
Path
object as a boolean
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
byte getByte(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a byte
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
void setByte(java.lang.String segmentName, java.lang.String fieldName, byte value) throws DLIException
Path
object as a byte
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
int getInt(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as an int
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into an
int
void setInt(java.lang.String segmentName, java.lang.String fieldName, int value) throws DLIException
Path
object as an int
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into an
int
short getShort(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a short
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
short
void setShort(java.lang.String segmentName, java.lang.String fieldName, short value) throws DLIException
Path
object as a short
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
short
long getLong(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a long
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
long
void setLong(java.lang.String segmentName, java.lang.String fieldName, long value) throws DLIException
Path
object as a long
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
long
float getFloat(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a float
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
float
void setFloat(java.lang.String segmentName, java.lang.String fieldName, float value) throws DLIException
Path
object as a float
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
float
double getDouble(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a double
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
double
void setDouble(java.lang.String segmentName, java.lang.String fieldName, double value) throws DLIException
Path
object as a double
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
double
byte[] getBytes(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a byte
array.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
arrayvoid setBytes(java.lang.String segmentName, java.lang.String fieldName, byte[] value) throws DLIException
Path
object as a byte
array.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
arrayjava.lang.String getString(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.lang.String
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.lang.String
.void setString(java.lang.String segmentName, java.lang.String fieldName, java.lang.String value) throws DLIException
Path
object as an java.lang.String
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.lang.String
.java.math.BigDecimal getBigDecimal(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.math.BigDecimal
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.math.BigDecimal
.void setBigDecimal(java.lang.String segmentName, java.lang.String fieldName, java.math.BigDecimal value) throws DLIException
Path
object as a java.math.BigDecimal
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.math.BigDecimal
.java.sql.Date getDate(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.sql.Date
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Date
void setDate(java.lang.String segmentName, java.lang.String fieldName, java.sql.Date value) throws DLIException
Path
object as a java.sql.Date
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Date
java.sql.Time getTime(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.sql.Time
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Time
void setTime(java.lang.String segmentName, java.lang.String fieldName, java.sql.Time value) throws DLIException
Path
object as a java.sql.Time
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Time
java.sql.Timestamp getTimestamp(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.sql.TimeStamp
.segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.TimeStamp
com.ibm.ims.dli.DLIWarning getWarnings()
void clearWarnings()
void setTimestamp(java.lang.String segmentName, java.lang.String fieldName, java.sql.Timestamp value) throws DLIException
Path
object as a java.sql.TimeStamp
.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.TimeStamp
java.lang.Object getObject(java.lang.String segmentName, java.lang.String fieldName) throws DLIException
Path
object as a java.lang.Object
. segmentName
- name of the segmentfieldName
- name of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval.void setObject(java.lang.String segmentName, java.lang.String fieldName, java.lang.Object value) throws DLIException
Path
object
with the java.lang.Object
value.segmentName
- name of the segmentfieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval.DBArray getArray(java.lang.String fieldName) throws DLIException
Path
object as a com.ibm.ims.dli.DBArray
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
DBArray
void setArray(java.lang.String fieldName, DBArray value) throws DLIException
Path
object as
a com.ibm.ims.dli.DBArray
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
DBArray
boolean getBoolean(java.lang.String fieldName) throws DLIException
Path
object as a boolean
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
void setBoolean(java.lang.String fieldName, boolean value) throws DLIException
Path
object as
a boolean
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
boolean
byte getByte(java.lang.String fieldName) throws DLIException
Path
object as a byte
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
void setByte(java.lang.String fieldName, byte value) throws DLIException
Path
object as a byte
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
int getInt(java.lang.String fieldName) throws DLIException
Path
object as an int
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into an
int
void setInt(java.lang.String fieldName, int value) throws DLIException
Path
object as
an int
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
int
short getShort(java.lang.String fieldName) throws DLIException
Path
object as a short
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
short
void setShort(java.lang.String fieldName, short value) throws DLIException
Path
object
as a short
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
short
long getLong(java.lang.String fieldName) throws DLIException
Path
object as a long
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field name is not found in the database or if the
field value was not able to be converted into a
long
void setLong(java.lang.String fieldName, long value) throws DLIException
Path
object as
a long
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
long
float getFloat(java.lang.String fieldName) throws DLIException
Path
object as a float
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
float
void setFloat(java.lang.String fieldName, float value) throws DLIException
Path
object as
a float
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
float
double getDouble(java.lang.String fieldName) throws DLIException
Path
object as a double
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
double
void setDouble(java.lang.String fieldName, double value) throws DLIException
Path
object as
a double
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
double
byte[] getBytes(java.lang.String fieldName) throws DLIException
Path
object as
a byte
array. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
arrayvoid setBytes(java.lang.String fieldName, byte[] value) throws DLIException
Path
object as
a byte
array. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
byte
arrayjava.lang.String getString(java.lang.String fieldName) throws DLIException
Path
object as
a java.lang.String
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.lang.String
.void setString(java.lang.String fieldName, java.lang.String value) throws DLIException
Path
object as
a java.lang.String
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.lang.String
.java.math.BigDecimal getBigDecimal(java.lang.String fieldName) throws DLIException
Path
object as a java.math.BigDecimal
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.math.BigDecimal
void setBigDecimal(java.lang.String fieldName, java.math.BigDecimal value) throws DLIException
Path
object as a
java.math.BigDecimal
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.math.BigDecimal
java.sql.Date getDate(java.lang.String fieldName) throws DLIException
Path
object as
a java.sql.Date
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Date
void setDate(java.lang.String fieldName, java.sql.Date value) throws DLIException
Path
object as
a java.sql.Date
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Date
java.sql.Time getTime(java.lang.String fieldName) throws DLIException
Path
object as
a java.sql.Time
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Time
void setTime(java.lang.String fieldName, java.sql.Time value) throws DLIException
Path
object as
a java.sql.Time
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.Time
java.sql.Timestamp getTimestamp(java.lang.String fieldName) throws DLIException
Path
object as
a java.sql.TimeStamp
. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.TimeStamp
void setTimestamp(java.lang.String fieldName, java.sql.Timestamp value) throws DLIException
Path
object as
a java.sql.TimeStamp
. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.sql.TimeStamp
.java.lang.Object getObject(java.lang.String fieldName) throws DLIException
Path
object as an Object
in the Java Programming
Language. Path
. Otherwise use the method that has the segment name
parameter.DLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value was not able to be converted into a
java.math.BigDecimal
void setObject(java.lang.String fieldName, java.lang.Object value) throws DLIException
Path
object
with the Object
value. Path
. Otherwise use the method that has the segment name
parameter.fieldName
- name of the fieldvalue
- value of the fieldDLIException
- if the field or segment name is not found in the current
Path
because the segment or field does not
exist in the database or was not marked for retrieval, or
if the field value could not be converted into a
java.sql.TimeStamp
.AIB getAIB()
AIB
boolean wasNull()
java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.String>> getFields()
PathMetaData getMetaData() throws DLIException
Path
object.Path
objectDLIException
- if a processing error occurs