|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<K,V> java.util.LinkedHashMap<Integer,Value> com.bmc.arsys.api.Entry
public class Entry
The Entry
class defines the entry of ARSystem forms. It is a map that
takes field id as the map key and field value Value
as the map value
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
Entry()
|
|
Entry(Map<? extends Integer,? extends Value> m)
|
|
Entry(SortedMap<Integer,? extends Value> m)
|
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
String |
getEntryId()
return the entry id of this entry object |
String |
getEntryIdWithNoSeparator()
return the entry id with separator characters being stripped out. |
String |
getKey()
return the key (entry id) of this entry object |
static String |
prepareEntryId(Object[] var)
Reserved for internal use. |
Value |
put(Integer key,
Value value)
Associates the specified value (field value) with the specified key (field id) in the entry object. |
void |
putAll(Map<? extends Integer,? extends Value> map)
Copies all of the mappings from the specified map to this entry object. |
void |
setEntryId(String entryId)
set the provided entry id to the entry object |
static String[] |
splitEntryId(String entryId)
Split the given entryId string into a string array. |
static String[] |
splitEntryId(String entryId,
String serverCharSet)
Split the given entryId string into a string array. |
Methods inherited from class java.util.LinkedHashMap |
---|
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
---|
containsKey, entrySet, isEmpty, keySet, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, entrySet, hashCode, isEmpty, keySet, remove, size, values |
Constructor Detail |
---|
public Entry()
public Entry(Map<? extends Integer,? extends Value> m)
public Entry(SortedMap<Integer,? extends Value> m)
Method Detail |
---|
public String getKey()
public String getEntryId()
public String getEntryIdWithNoSeparator()
Constants.AR_MAX_ENTRYID_SIZE
.
Therefore, for a regular form, this method is equivalent to getEntryId
public void setEntryId(String entryId)
entryId
- public static String[] splitEntryId(String entryId)
Constants.AR_MAX_ENTRYID_SIZE
.
The output is a string array with each string to be equal or less than
Constants.AR_MAX_ENTRYID_SIZE
.
public static String[] splitEntryId(String entryId, String serverCharSet)
Constants.AR_MAX_ENTRYID_SIZE
.
The output is a string array with each string to be equal or less than
Constants.AR_MAX_ENTRYID_SIZE
.
entryId
- serverCharSet
-
public static String prepareEntryId(Object[] var)
var
-
public Object clone()
clone
in class HashMap<Integer,Value>
public boolean equals(Object obj)
equals
in interface Map<Integer,Value>
equals
in class AbstractMap<Integer,Value>
obj
- the object that we are comparing to
public Value put(Integer key, Value value)
put
in interface Map<Integer,Value>
put
in class HashMap<Integer,Value>
public void putAll(Map<? extends Integer,? extends Value> map)
putAll
in interface Map<Integer,Value>
putAll
in class HashMap<Integer,Value>
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |