public class Entry extends LinkedHashMap<Integer,Value> implements Serializable
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 valueAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Entry() |
Entry(Map<? extends Integer,? extends Value> m) |
Entry(SortedMap<Integer,? extends Value> m) |
Modifier and Type | Method and Description |
---|---|
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.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size
hashCode, toString
compute, computeIfAbsent, computeIfPresent, containsKey, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size
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()
public boolean equals(Object obj)
public Value put(Integer key, Value value)
? Copyright 2013 BMC Software, Inc.