1234567891011121314151617181920212223 |
- package com.sysmodel.datamodel.xmlmodel;
- import java.util.Collection;
- import java.util.HashMap;
- import java.util.Map;
- public class DataContent{
- private Map<String, Object> values = new HashMap<String, Object>(8);
- public void putKeyValue(String propertyName, Object obj) {
- values.put(propertyName, obj);
- }
- public Object getValue(String propertyName) {
- return values.get(propertyName);
- }
- public Collection<Object> getAllDataConent() {
- return values.values();
- }
- }
|