All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class asjava.uniclientlibs.UniRecord

java.lang.Object
   |
   +----asjava.uniclientlibs.UniString
           |
           +----asjava.uniclientlibs.UniDynArray
                   |
                   +----asjava.uniclientlibs.UniRecord

public class UniRecord
extends UniDynArray
implements Serializable
UniRecord is used to control UniVerse Record interaction. It is an extension of the UniDynArray object, and thus behaves in a similar fashion. All UniDynArray operations can be performed, and will be performed on the data portion of this object.

Version:
Version 1.0
Author:
David T. Meeks

Constructor Index

 o UniRecord()
Constructs a UniRecord with no data in it.
 o UniRecord(Object)
Constructs a UniRecord with just the record ID
 o UniRecord(Object, Object)
Constructs a UniRecord with the record ID and record data
 o UniRecord(Object, Object, int)
Constructs a UniRecord with the record ID and record data, setting the initial status as well

Method Index

 o getRecord()
return the objects data value
 o getRecordID()
return the objects RecordID
 o returnCode()
return the objects return code
 o setRecord(Object)
sets the objects data value param aRecVal UniDynArray representing the objects record data value
 o setRecord(String)
sets the objects data value param aRecVal UniDynArray representing the objects record data value
 o setRecord(UniDynArray)
sets the objects data value param aRecVal UniDynArray representing the objects record data value
 o setRecordID(Object)
sets the objects RecordID value param aRecID UniDynArray representing the objects record ID
 o setRecordID(UniDynArray)
sets the objects RecordID value param aRecID UniDynArray representing the objects record ID
 o setReturnCode(int)
sets the objects return value param aReturnCode integer representing the objects return code
 o setStatus(int)
sets the objects status value param aStatusVal integer representing the objects status
 o status()
return the objects stats
 o toString()
returns the String representation of the object.
 o toUniDynArray()
returns the UniDynArray representation of the object.
 o toUniString()
returns the UniString representation of the object.

Constructors

 o UniRecord
 public UniRecord()
Constructs a UniRecord with no data in it.

 o UniRecord
 public UniRecord(Object aRecID)
Constructs a UniRecord with just the record ID

Parameters:
aRecID - the record ID this record represents
 o UniRecord
 public UniRecord(Object aRecID,
                  Object aRecVal)
Constructs a UniRecord with the record ID and record data

Parameters:
aRecID - the record ID this record represents
aRecVal - the record Data this record represents...
 o UniRecord
 public UniRecord(Object aRecID,
                  Object aRecVal,
                  int aStatus)
Constructs a UniRecord with the record ID and record data, setting the initial status as well

Parameters:
aRecID - the record ID this record represents
aRecVal - the record Data this record represents...
aStatus - the initial status value of this record

Methods

 o getRecordID
 public UniDynArray getRecordID()
return the objects RecordID

Returns:
UniDynArray representing the objects record ID
 o getRecord
 public UniDynArray getRecord()
return the objects data value

Returns:
UniDynArray representing the objects record data
 o returnCode
 public int returnCode()
return the objects return code

Returns:
integer representing the objects record return code
 o status
 public int status()
return the objects stats

Returns:
integer representing the objects status
Overrides:
status in class UniString
 o setRecordID
 public void setRecordID(Object aRecID)
sets the objects RecordID value param aRecID UniDynArray representing the objects record ID

 o setRecordID
 public void setRecordID(UniDynArray aRecID)
sets the objects RecordID value param aRecID UniDynArray representing the objects record ID

 o setRecord
 public void setRecord(Object aRecVal)
sets the objects data value param aRecVal UniDynArray representing the objects record data value

 o setRecord
 public void setRecord(UniDynArray aRecVal)
sets the objects data value param aRecVal UniDynArray representing the objects record data value

 o setRecord
 public void setRecord(String aRecVal)
sets the objects data value param aRecVal UniDynArray representing the objects record data value

 o setReturnCode
 public void setReturnCode(int aReturnCode)
sets the objects return value param aReturnCode integer representing the objects return code

 o setStatus
 public void setStatus(int aStatusVal)
sets the objects status value param aStatusVal integer representing the objects status

 o toString
 public String toString()
returns the String representation of the object. The recordID and record data are combined, being separated by a uniVerse @IM character. return String representing the objects string representation

Overrides:
toString in class UniDynArray
 o toUniDynArray
 public UniDynArray toUniDynArray()
returns the UniDynArray representation of the object. return UniDynArray representing the objects as a UniDynArray

 o toUniString
 public UniString toUniString()
returns the UniString representation of the object. return UniString representing the objects as a UniString


All Packages  Class Hierarchy  This Package  Previous  Next  Index