Adempiere 3.5.2a

org.compiere.model
Class VO

java.lang.Object
  extended by org.compiere.model.VO
All Implemented Interfaces:
Serializable, Map

public class VO
extends Object
implements Map, Serializable

Value Object

Version:
$Id: VO.java,v 1.3 2006/07/30 00:58:04 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
VO()
          Constructor
 
Method Summary
 void clear()
          Clear keys/values
 boolean containsKey(Object key)
          Contains Key
 boolean containsValue(Object value)
          Contains Value
 Set<String> entrySet()
          Get Values Set
 Object get(Object key)
          Get Value with Key
 boolean isEmpty()
          Is Empty
 Set<String> keySet()
          Get Key Set
 Object put(Object key, Object value)
          Put key/value
 void putAll(Map t)
          Put All
 Object remove(Object key)
          Remove
 int size()
          Get Size
 Collection values()
          Get Values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

VO

public VO()
Constructor

Method Detail

size

public int size()
Get Size

Specified by:
size in interface Map
Returns:
size

isEmpty

public boolean isEmpty()
Is Empty

Specified by:
isEmpty in interface Map
Returns:
true if empty

containsKey

public boolean containsKey(Object key)
Contains Key

Specified by:
containsKey in interface Map
Parameters:
key - key
Returns:
true if contains

containsValue

public boolean containsValue(Object value)
Contains Value

Specified by:
containsValue in interface Map
Parameters:
value - value
Returns:
true if contains value

get

public Object get(Object key)
Get Value with Key

Specified by:
get in interface Map
Parameters:
key - key
Returns:
value or null

put

public Object put(Object key,
                  Object value)
Put key/value

Specified by:
put in interface Map
Parameters:
key - key
value - value
Returns:
previous value or null

remove

public Object remove(Object key)
Remove

Specified by:
remove in interface Map
Parameters:
key - key
Returns:
previous value or null

putAll

public void putAll(Map t)
Put All

Specified by:
putAll in interface Map
Parameters:
t - map

clear

public void clear()
Clear keys/values

Specified by:
clear in interface Map

keySet

public Set<String> keySet()
Get Key Set

Specified by:
keySet in interface Map
Returns:
key set

values

public Collection values()
Get Values

Specified by:
values in interface Map
Returns:
values as collection

entrySet

public Set<String> entrySet()
Get Values Set

Specified by:
entrySet in interface Map
Returns:
values set

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.