org.barracudamvc.examples.xmlc.data
Class UserData

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.barracudamvc.examples.xmlc.data.UserData
All Implemented Interfaces:
Cloneable, Map, Serializable

public class UserData
extends HashMap
implements Cloneable

See Also:
Serialized Form

Field Summary
static String AGE
           
static String EMAIL
           
static String FIRST_NAME
           
static String GENDER
           
static String LAST_NAME
           
static String NOTES
           
static String PHONE
           
static String SELECTED
           
 
Constructor Summary
UserData()
           
 
Method Summary
 Object clone()
          Make a copy of the current object
 boolean isDirty()
          Is this data record dirty
 boolean isNew()
          Is this data record new
 Object put(Object key, 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
 

Field Detail

SELECTED

public static final String SELECTED
See Also:
Constant Field Values

FIRST_NAME

public static final String FIRST_NAME
See Also:
Constant Field Values

LAST_NAME

public static final String LAST_NAME
See Also:
Constant Field Values

GENDER

public static final String GENDER
See Also:
Constant Field Values

AGE

public static final String AGE
See Also:
Constant Field Values

EMAIL

public static final String EMAIL
See Also:
Constant Field Values

PHONE

public static final String PHONE
See Also:
Constant Field Values

NOTES

public static final String NOTES
See Also:
Constant Field Values
Constructor Detail

UserData

public UserData()
Method Detail

put

public Object put(Object key,
                  Object value)
set data in the store

Specified by:
put in interface Map

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 Object clone()
Make a copy of the current object



Copyright © 2004 BarracudaMVC.org All Rights Reserved.