public boolean exists(String key) throws PropertyException { final Entity entity = this.entity; // volatile read return getEntryStore().getEntry(entity.entityName, entity.entityId, key) != null; }
@Nullable protected Object get(int type, String key) { final Entity entity = this.entity; // volatile read final PropertyEntry entry = getEntryStore().getEntry(entity.entityName, entity.entityId, key); return (entry != null) ? entry.getValue(type) : null; }
public int getType(String key) throws PropertyException { final Entity entity = this.entity; // volatile read final PropertyEntry entry = getEntryStore().getEntry(entity.entityName, entity.entityId, key); if (entry == null) { throw new PropertyImplementationException("Property '" + key + "' not found"); } return entry.getType(); }