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
-
UniRecord()
- Constructs a UniRecord with no data in it.
-
UniRecord(Object)
- Constructs a UniRecord with just the record ID
-
UniRecord(Object, Object)
- Constructs a UniRecord with the record ID and record data
-
UniRecord(Object, Object, int)
- Constructs a UniRecord with the record ID and record data, setting the initial
status as well
-
getRecord()
- return the objects data value
-
getRecordID()
- return the objects RecordID
-
returnCode()
- return the objects return code
-
setRecord(Object)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
-
setRecord(String)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
-
setRecord(UniDynArray)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
-
setRecordID(Object)
- sets the objects RecordID value
param aRecID UniDynArray representing the objects record ID
-
setRecordID(UniDynArray)
- sets the objects RecordID value
param aRecID UniDynArray representing the objects record ID
-
setReturnCode(int)
- sets the objects return value
param aReturnCode integer representing the objects return code
-
setStatus(int)
- sets the objects status value
param aStatusVal integer representing the objects status
-
status()
- return the objects stats
-
toString()
- returns the String representation of the object.
-
toUniDynArray()
- returns the UniDynArray representation of the object.
-
toUniString()
- returns the UniString representation of the object.
UniRecord
public UniRecord()
- Constructs a UniRecord with no data in it.
UniRecord
public UniRecord(Object aRecID)
- Constructs a UniRecord with just the record ID
- Parameters:
- aRecID - the record ID this record represents
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...
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
getRecordID
public UniDynArray getRecordID()
- return the objects RecordID
- Returns:
- UniDynArray representing the objects record ID
getRecord
public UniDynArray getRecord()
- return the objects data value
- Returns:
- UniDynArray representing the objects record data
returnCode
public int returnCode()
- return the objects return code
- Returns:
- integer representing the objects record return code
status
public int status()
- return the objects stats
- Returns:
- integer representing the objects status
- Overrides:
- status in class UniString
setRecordID
public void setRecordID(Object aRecID)
- sets the objects RecordID value
param aRecID UniDynArray representing the objects record ID
setRecordID
public void setRecordID(UniDynArray aRecID)
- sets the objects RecordID value
param aRecID UniDynArray representing the objects record ID
setRecord
public void setRecord(Object aRecVal)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
setRecord
public void setRecord(UniDynArray aRecVal)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
setRecord
public void setRecord(String aRecVal)
- sets the objects data value
param aRecVal UniDynArray representing the objects record data value
setReturnCode
public void setReturnCode(int aReturnCode)
- sets the objects return value
param aReturnCode integer representing the objects return code
setStatus
public void setStatus(int aStatusVal)
- sets the objects status value
param aStatusVal integer representing the objects status
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
toUniDynArray
public UniDynArray toUniDynArray()
- returns the UniDynArray representation of the object.
return UniDynArray representing the objects as a UniDynArray
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