Package oracle.stellent.ridc.model.impl
Class DataResultSetRow
java.lang.Object
oracle.stellent.ridc.model.impl.DataResultSetRow
- All Implemented Interfaces:
Map<String,,String> DataObject
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleangetBoolean(String name, boolean defaultValue) Retrieve the result as a booleangetCalendar(String name) Retrieve the date.Retrieve the date.intgetInteger(String name) Retrieve a value as an integerbooleanisEmpty()keySet()voidvoidsetBoolean(String name, boolean value) Set a value as a booleanvoidSet a date value.intsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
DataResultSetRow
-
-
Method Details
-
getBoolean
Retrieve the result as a boolean- Specified by:
getBooleanin interfaceDataObject- Parameters:
name- the property namedefaultValue- the default value if not found- Returns:
- the boolean value
-
setBoolean
Set a value as a boolean- Specified by:
setBooleanin interfaceDataObject- Parameters:
name- the property namevalue- the property value
-
setDate
Set a date value. Note the date should be in GMT time.- Specified by:
setDatein interfaceDataObject- Parameters:
name- the property namedate- the date in GMT time
-
getDate
Retrieve the date. Note the date is in GMT time.- Specified by:
getDatein interfaceDataObject- Parameters:
name- the property name- Returns:
- the date value in GMT or null if not found
-
getCalendar
Description copied from interface:DataObjectRetrieve the date.- Specified by:
getCalendarin interfaceDataObject- Parameters:
name- the property name- Returns:
- the date value in GMT or null if not found
-
getInteger
Retrieve a value as an integer- Specified by:
getIntegerin interfaceDataObject- Parameters:
name- the property name- Returns:
- the integer value or -1 if not found
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,String> - Parameters:
key- key whose presence in this map is to be tested.- Returns:
- true if this map contains a mapping for the specified key.
- Throws:
ClassCastException- if the key is of an inappropriate type for this map (optional).NullPointerException- if the key is null and this map does not permit null keys (optional).
-
containsValue
- Specified by:
containsValuein interfaceMap<String,String> - Parameters:
value- value whose presence in this map is to be tested.- Returns:
- true if this map maps one or more keys to the specified value.
- Throws:
ClassCastException- if the value is of an inappropriate type for this map (optional).NullPointerException- if the value is null and this map does not permit null values (optional).
-
get
- Specified by:
getin interfaceMap<String,String> - Parameters:
key- key whose associated value is to be returned.- Returns:
- the value to which this map maps the specified key, or null if the map contains no mapping for this key.
- Throws:
ClassCastException- if the key is of an inappropriate type for this map (optional).NullPointerException- if the key is null and this map does not permit null keys (optional).- See Also:
-
put
- Specified by:
putin interfaceMap<String,String> - Parameters:
key- key with which the specified value is to be associated.value- value to be associated with the specified key.- Returns:
- previous value associated with specified key, or null if there was no mapping for key. A null return can also indicate that the map previously associated null with the specified key, if the implementation supports null values.
- Throws:
UnsupportedOperationException- if the put operation is not supported by this map.ClassCastException- if the class of the specified key or value prevents it from being stored in this map.IllegalArgumentException- if some aspect of this key or value prevents it from being stored in this map.NullPointerException- if this map does not permit null keys or values, and the specified key or value is null.
-
remove
- Specified by:
removein interfaceMap<String,String> - Parameters:
key- key whose mapping is to be removed from the map.- Returns:
- previous value associated with specified key, or null if there was no mapping for key.
- Throws:
ClassCastException- if the key is of an inappropriate type for this map (optional).NullPointerException- if the key is null and this map does not permit null keys (optional).UnsupportedOperationException- if the remove method is not supported by this map.
-
putAll
- Specified by:
putAllin interfaceMap<String,String> - Parameters:
t- Mappings to be stored in this map.- Throws:
UnsupportedOperationException- if the putAll method is not supported by this map.ClassCastException- if the class of a key or value in the specified map prevents it from being stored in this map.IllegalArgumentException- some aspect of a key or value in the specified map prevents it from being stored in this map.NullPointerException- if the specified map is null, or if this map does not permit null keys or values, and the specified map contains null keys or values.
-
clear
public void clear()- Specified by:
clearin interfaceMap<String,String> - Throws:
UnsupportedOperationException- clear is not supported by this map.
-
keySet
-
values
-
entrySet
-