final PropertyInfoIndex pi = PropertyInfoIndex.fromName(pname); if (pi == null) { throw parseResult.fail("unknown Property: " +
if (!ocalf.getPropertyIndex().equals(ocf.getPropertyIndex()) || !ocalf.getExact() || !ocf.getExact() || BwIcalPropertyInfo.getPinfo(ocalf.getPropertyIndex()).getMultiValued()) {
private void processProperty(final BasePropertyType prop, final QName elname, final BuildState bs) throws Throwable { final PropertyInfoIndex pii = PropertyInfoIndex.fromXmlClass(prop.getClass());
pi = PropertyInfoIndex.XPROP; } else { pi = PropertyInfoIndex.fromName(prop.getName());
PropertyInfoIndex pi = PropertyInfoIndex.fromName(prop.getName()); if (pi == null) { logger.debug("Unknown property with name " + prop.getName() +
FilterBase filter = null; PropertyInfoIndex pi = PropertyInfoIndex.fromName(pname);
pi = PropertyInfoIndex.ETAG; } else { pi = PropertyInfoIndex.fromName(pname); if (pi == null) { continue;
.fromName(prop.getName()); !emit(pattern, comp.getClass(), pii.getXmlClass())) { continue;
private static String getData(final ChangeTableEntry cte, final Object o) { if (o == null) { return null; } if (!cte.getIndex().getDbMultiValued()) { if (o instanceof BwString) { return ((BwString)o).getValue(); } else if (o instanceof BwLongString) { return ((BwLongString)o).getValue(); } else if (o instanceof BwLocation) { return ((BwLocation)o).getAddress().getValue(); } else if (o instanceof BwXproperty) { return ((BwXproperty)o).getValue(); } else { return String.valueOf(o); } } if (o instanceof BwString) { return ((BwString)o).getValue(); } else if (o instanceof BwLongString) { return ((BwLongString)o).getValue(); } else if (o instanceof BwLocation) { return ((BwLocation)o).getAddress().getValue(); } else if (o instanceof BwXproperty) { return ((BwXproperty)o).getValue(); } else { return String.valueOf(o); } }
/** True if it's an alarm property * * @return boolean */ public boolean getAlarmProperty() { return index.getAlarmProperty(); }
/** * @return true if it's an event property */ public boolean getEventProperty() { return index.getEventProperty(); //eventProperty; }
/** True if it's an available property * * @return boolean */ public boolean getAvailableProperty() { return index.getAvailableProperty(); }