public LinkedList<Object> getPropertyValues(Iterable<PropertyID> keys) { LinkedList<Object> values = new LinkedList<Object>(); for (PropertyID key : keys) { values.add(properties.get(key.getName())); } return values; }
public LinkedList<PropertyID> getPropertyKeys() { LinkedList<PropertyID> ids = new LinkedList<PropertyID>(); Set<String> names = properties.keySet(); for (String name : names) { ids.add(PropertyID.getPropertyIDByName(name)); } return ids; }
public boolean hasProperty(PropertyID key) { return properties.containsKey(key.getName()); }
public Object removeProperty(PropertyID key) { return properties.remove(key.getName()); }
public Object getProperty(PropertyID key) { return properties.get(key.getName()); }
public void addProperty(PropertyID key, Object value) { properties.put(key.getName(), value); }