code: private void markOrdinaryPropertyDirty
          (CodeBuilder b, StorableProperty ordinaryProperty)
      {
          int count = mAllProperties.size();
  
          int ordinal = 0;
          int andMask = 0xffffffff;
          int orMask = 0;
          boolean anyNonDerived = false;
  
          for (StorableProperty property : mAllProperties.values()) {
              if (!property.isDerived()) {
                  anyNonDerived = true;
                  if (property == ordinaryProperty) {
                      orMask |= PROPERTY_STATE_DIRTY << ((ordinal & 0xf) * 2);
                  } else if (property.isJoin()) {
                      // Check to see if ordinary is an internal member of join property.
                      for (int i=property.getJoinElementCount(); --i>=0; ) {
                          if (ordinaryProperty == property.getInternalJoinElement(i)) {
                              andMask &= ~(PROPERTY_STATE_DIRTY << ((ordinal & 0xf) * 2));
                          }
                      }
                  }
              }
  
              ordinal++;
              if ((ordinal & 0xf) == 0 || ordinal >= count) {
                  if (anyNonDerived && (andMask != 0xffffffff || orMask != 0)) {
                      String stateFieldName = PROPERTY_STATE_FIELD_NAME + ((ordinal - 1) >> 4);
                      b.loadThis();
                      b.loadThis();
                      b.loadField(stateFieldName, TypeDesc.INT);
                      if (andMask != 0xffffffff) {
                          b.loadConstant(andMask);
                          b.math(Opcode.IAND);
                      }
                      if (orMask != 0) {
                          b.loadConstant(orMask);
                          b.math(Opcode.IOR);
                      }
                      b.storeField(stateFieldName, TypeDesc.INT);
                  }
  
                  andMask = 0xffffffff;
                  orMask = 0;
                  anyNonDerived = false;
              }
          }
      }
docs: For the given ordinary key property, marks all of its dependent join
  element properties as uninitialized, and marks given property as dirty.