|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DiaryItem>
com.bmc.arsys.api.DiaryListValue
public class DiaryListValue
The DiaryListValue class is used to set or retrieve the values of diary fields. The DiaryList
class is a collection of DiaryItem objects. It contains a string representation of all the DiaryItem
objects in encoded form. The list of DiaryItem objects can be retrieved using the
decode method.
| Field Summary | |
|---|---|
static String |
AR_DEFN_DIARY_COMMA
|
static String |
AR_DEFN_DIARY_SEP
|
| Constructor Summary | |
|---|---|
DiaryListValue()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
static DiaryListValue |
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 ARDiaryList into an encoded diary string. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
String |
getAppendedText()
return the appended diary string. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setAppendedText(String appendedText)
Append the given string to the diaryListValue object, and the string will be added to DiaryItem late on when this diaryListValue object is saved into
the server |
String |
toString()
Returns a string description of the object. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
public static final String AR_DEFN_DIARY_SEP
public static final String AR_DEFN_DIARY_COMMA
| Constructor Detail |
|---|
public DiaryListValue()
| Method Detail |
|---|
public boolean equals(Object obj)
equals in interface Collection<DiaryItem>equals in interface List<DiaryItem>equals in class AbstractList<DiaryItem>obj - the object that we are comparing to
public static DiaryListValue decode(String encoded)
throws ARException
NullPointerException - if invalid ARServerUser object
ARException - if diary information is not decodedpublic String encode()
ARDiaryList into an encoded diary string.
public Object clone()
clone in class ArrayList<DiaryItem>public String getAppendedText()
public void setAppendedText(String appendedText)
DiaryItem late on when this diaryListValue object is saved into
the server
appendedText - the string to be added to the diaryListValue object.public String toString()
toString in class AbstractCollection<DiaryItem>public int hashCode()
hashCode in interface Collection<DiaryItem>hashCode in interface List<DiaryItem>hashCode in class AbstractList<DiaryItem>
|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||