Пример #1
0
  /** Get (and allocate if necessary) the index for this attribute id. */
  public int getIndex(int attrId) {
    AttrType type = AttrDefinitionMgr.getAttrType(attrId);

    if (key.intValue() == ATTRIBUTE_KEY_INT) {
      return getAttrIndex(attrId, type);
    }
    return getConstraintIndex(attrId, type);
  }