public void putPropertyList(int property, PropertyList value) { if (value == null) { value = EMPTY_PROPERTYLIST; } Value<?> v = new Value<PropertyList>(ValueType.PropertyList, value, value.countSize()); valueMap.put(property, v); }
public void putList(int property, List<?> value) { if (value != null) { PropertyList plist = new PropertyList(value); Value<?> v = new Value<PropertyList>(ValueType.PropertyList, plist, plist.countSize()); valueMap.put(property, v); } else { putNull(property); } }