01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.dp;
06:
07: import java.util.Map;
08: import java.util.List;
09: import java.util.Set;
10:
11: public interface DPCollection extends DPProperty {
12: public Set getNames();
13:
14: public DPProperty get(String key);
15:
16: public DPProperty remove(String key);
17:
18: public void removeAll();
19:
20: public DPProperty add(DPProperty dpp);
21:
22: public void addAll(Set props);
23:
24: public void setCollectionValue(Map m);
25:
26: public void setCollectionValue(List l);
27:
28: public Map getCollectionValue();
29: }
|