org.enhydra.barracuda.examples.xmlc.data
Class UserData
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--org.enhydra.barracuda.examples.xmlc.data.UserData
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class UserData
- extends java.util.HashMap
- implements java.lang.Cloneable
- See Also:
- Serialized Form
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary |
static java.lang.String |
AGE
|
static java.lang.String |
EMAIL
|
static java.lang.String |
FIRST_NAME
|
static java.lang.String |
GENDER
|
static java.lang.String |
LAST_NAME
|
static java.lang.String |
NOTES
|
static java.lang.String |
PHONE
|
static java.lang.String |
SELECTED
|
Method Summary |
java.lang.Object |
clone()
Make a copy of the current object |
boolean |
isDirty()
Is this data record dirty |
boolean |
isNew()
Is this data record new |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
set data in the store |
void |
setDirty(boolean val)
mark this data record dirty/clean |
void |
setNew(boolean val)
mark this data record as new |
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, 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 |
equals, hashCode |
SELECTED
public static final java.lang.String SELECTED
- See Also:
- Constant Field Values
FIRST_NAME
public static final java.lang.String FIRST_NAME
- See Also:
- Constant Field Values
LAST_NAME
public static final java.lang.String LAST_NAME
- See Also:
- Constant Field Values
GENDER
public static final java.lang.String GENDER
- See Also:
- Constant Field Values
AGE
public static final java.lang.String AGE
- See Also:
- Constant Field Values
EMAIL
public static final java.lang.String EMAIL
- See Also:
- Constant Field Values
PHONE
public static final java.lang.String PHONE
- See Also:
- Constant Field Values
NOTES
public static final java.lang.String NOTES
- See Also:
- Constant Field Values
UserData
public UserData()
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- set data in the store
- Specified by:
put
in interface java.util.Map
- Overrides:
put
in class java.util.HashMap
setNew
public void setNew(boolean val)
- mark this data record as new
isNew
public boolean isNew()
- Is this data record new
setDirty
public void setDirty(boolean val)
- mark this data record dirty/clean
isDirty
public boolean isDirty()
- Is this data record dirty
clone
public java.lang.Object clone()
- Make a copy of the current object
- Overrides:
clone
in class java.util.HashMap
Copyright © 2001 Enhydra.org