@Override @SuppressWarnings("unchecked") public <T> T getPropertyValue(String id) { Property<T> property = getProperty(id); if (property == null) { return null; } // explicit cast needed by the Sun compiler return (T) property.getValue(); }
@Override @SuppressWarnings("unchecked") public <T> T getPropertyValue(String id) { Property<T> property = getProperty(id); if (property == null) { return null; } // explicit cast needed by the Sun compiler return (T) property.getValue(); }
List<String> tags = property.getValue(); if (tags == null || tags.size() == 0) { return Collections.emptyMap();
if (prop.getDefinition().getUpdatability() == Updatability.READWRITE || prop.getDefinition().getUpdatability() == Updatability.ONCREATE) { newProperties.put(prop.getId(), prop.getValue());
if (prop.getDefinition().getUpdatability() == Updatability.READWRITE || prop.getDefinition().getUpdatability() == Updatability.ONCREATE) { newProperties.put(prop.getId(), prop.getValue());
for (Property<?> property : doc.getProperties()) { if (property.getDefinition().getUpdatability() == Updatability.READWRITE) { writableProperties.put(property.getId(), property.getValue());