@Override protected void createEntrySet(Set<Entry<String, Object>> core) { super.createEntrySet(core); for (PropertySet child : satellites.values()) { ((BasePropertySet) child).createEntrySet(core); } }
public BaseDistributedPropertySet() { this.viewthis = super.createView(); }
public void initialize() { // iterate (cached) array instead of map to speed things up ... PropertyMapEntry[] entries = getPropertyMap().getPropertyMapEntries(); for (PropertyMapEntry entry : entries) { super.put(entry.key, entry.value); } }
protected boolean supportsLocal(Object key) { return super.supports(key); }
@Override public Object remove(Object key) { // check satellites for (PropertySet child : satellites.values()) { if (child.supports(key)) { return child.remove(key); } } return super.remove(key); }
@Override public Object put(String key, Object value) { // check satellites for (PropertySet child : satellites.values()) { if(child.supports(key)) { return child.put(key,value); } } // otherwise it must be the master return super.put(key,value); }
@Override public Object get(Object key) { // check satellites for (PropertySet child : satellites.values()) { if (child.supports(key)) { return child.get(key); } } // otherwise it must be the master return super.get(key); }
/** * @deprecated */ protected static PropertyMap parse(final Class clazz) { com.oracle.webservices.api.message.BasePropertySet.PropertyMap pm = com.oracle.webservices.api.message.BasePropertySet.parse(clazz); PropertyMap map = new PropertyMap(); map.putAll(pm); return map; }
protected Map<String, Object> createView() { return new MapView(mapAllowsAdditionalProperties()); }
protected boolean supportsLocal(Object key) { return super.supports(key); }
@Override public Object remove(Object key) { // check satellites for (PropertySet child : satellites.values()) { if (child.supports(key)) { return child.remove(key); } } return super.remove(key); }
@Override public Object put(String key, Object value) { // check satellites for (PropertySet child : satellites.values()) { if(child.supports(key)) { return child.put(key,value); } } // otherwise it must be the master return super.put(key,value); }
@Override public Object get(Object key) { // check satellites for (PropertySet child : satellites.values()) { if (child.supports(key)) { return child.get(key); } } // otherwise it must be the master return super.get(key); }
/** * @deprecated */ protected static PropertyMap parse(final Class clazz) { com.oracle.webservices.api.message.BasePropertySet.PropertyMap pm = com.oracle.webservices.api.message.BasePropertySet.parse(clazz); PropertyMap map = new PropertyMap(); map.putAll(pm); return map; }
protected Map<String, Object> createView() { return new MapView(mapAllowsAdditionalProperties()); }
/** * Checks if this {@link PropertySet} supports a property of the given name. */ @Override public boolean supports(Object key) { return getPropertyMap().containsKey(key); }
protected boolean supportsLocal(Object key) { return super.supports(key); }
@Override protected void createEntrySet(Set<Entry<String, Object>> core) { super.createEntrySet(core); for (PropertySet child : satellites.values()) { ((BasePropertySet) child).createEntrySet(core); } }
public BaseDistributedPropertySet() { this.viewthis = super.createView(); }
@Override public Object remove(Object key) { // check satellites for (PropertySet child : satellites.values()) { if (child.supports(key)) { return child.remove(key); } } return super.remove(key); }