cc3c9f081fc72ba2855617ce9e3509d4e9d581bb.svn-base 481 B

1234567891011121314151617181920212223
  1. package com.sysmodel.datamodel.xmlmodel;
  2. import java.util.Collection;
  3. import java.util.HashMap;
  4. import java.util.Map;
  5. public class DataContent{
  6. private Map<String, Object> values = new HashMap<String, Object>(8);
  7. public void putKeyValue(String propertyName, Object obj) {
  8. values.put(propertyName, obj);
  9. }
  10. public Object getValue(String propertyName) {
  11. return values.get(propertyName);
  12. }
  13. public Collection<Object> getAllDataConent() {
  14. return values.values();
  15. }
  16. }