* the id for the category alone, not the fully-specified
* category:property.
* @return a Category with the given ID.
*/
public PropertyMetadata getOrCreatePropertyForId(String id) {
PropertyMetadata property = propMetadata.get(id);
if (property == null) {
property = new PropertyMetadata(id);
propMetadata.put(id, property);
properties.put(id, new int[capacity]);
}
return property;
}