public class StatusHistoryValue extends ArrayList<StatusHistoryItem> implements Cloneable, Serializable
StatusHistoryValue class is used to represent the values of
status history fields. The StatusHistoryValue class is a collection of
StatusHistoryItem objects.
It contains a string representation of all the StatusHistoryItem objects
in encoded form.
The list of StatusHistory objects can be retrieved
using the decode method from the StatusHistory class.
Each entry in the Status History field includes the name of the person who made the change and the timestamp in which the change occurred.
| Modifier and Type | Field and Description |
|---|---|
static String |
AR_DEFN_STATUS_HISTORYCOMMA |
static String |
AR_DEFN_STATUS_HISTORYSEP |
| Constructor and Description |
|---|
StatusHistoryValue() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
static StatusHistoryValue |
decode(String encoded)
Takes the formatted string returned for all diary fields and decodes it into an array of diary entries.
|
String |
encode()
Encodes the current
StatusHistory into an encoded diary string. |
add, add, addAll, addAll, clear, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic static final String AR_DEFN_STATUS_HISTORYSEP
public static final String AR_DEFN_STATUS_HISTORYCOMMA
public static StatusHistoryValue decode(String encoded) throws ARException
NullPointerException - if invalid ARServerUser objectARException - if diary information is not decodedpublic String encode()
StatusHistory into an encoded diary string.public Object clone()
clone in class ArrayList<StatusHistoryItem>? Copyright 2013 BMC Software, Inc.