servicenow.community.soap
Class FieldValues

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.String,java.lang.Object>
              extended by servicenow.community.soap.FieldValues
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public class FieldValues
extends java.util.LinkedHashMap<java.lang.String,java.lang.Object>

The FieldValues object is used to insert or update ServiceNow tables.

Example:

 FieldValues values = new FieldValues();
 values.add("short_description", short_description);
 values.addKey("assignment_group", assignment_group);
 table.insert(values);
 

Author:
lewisgf
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
FieldValues()
           
FieldValues(java.lang.String name, java.lang.Object value)
           
 
Method Summary
 void insert(GlideTable table)
           
 FieldValues set(java.lang.String name, boolean value)
           
 FieldValues set(java.lang.String name, int value)
           
 FieldValues set(java.lang.String name, java.lang.Object value)
           
 void update(GlideTable table, GlideKey key)
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

FieldValues

public FieldValues()

FieldValues

public FieldValues(java.lang.String name,
                   java.lang.Object value)
Method Detail

set

public FieldValues set(java.lang.String name,
                       java.lang.Object value)

set

public FieldValues set(java.lang.String name,
                       boolean value)

set

public FieldValues set(java.lang.String name,
                       int value)

update

public void update(GlideTable table,
                   GlideKey key)
            throws java.io.IOException
Throws:
java.io.IOException

insert

public void insert(GlideTable table)
            throws java.io.IOException
Throws:
java.io.IOException