public boolean set(String k1, String k2, int seq, String value) {
AttributeKey ak = new AttributeKey(k1,k2);
AttrSetWithAction as = attributeMap.get(ak);
// new attribute
if (as == null) {
AttrSet newAs = new AttrSet();
newAs.setType(type);
newAs.setId(id);
newAs.setK1(k1);
newAs.setK2(k2);
newAs.setSeq(seq);
newAs.setValue(value);
AttrSetWithAction insertAs = new AttrSetWithAction(newAs);
insertAs.action=Action.ADD;
attributeMap.put(ak, insertAs);
changePersisted=false;
return true;