This method retrieves an integer of the specified type,
belonging to the item with the specified unique ID.

@param id unique ID of entity to which this data belongs
@param type data type identifier
@return required integer data
340461
public int getShort(Integer id, Integer type)
   {
      int result = 0;

      Integer offset = m_meta.getOffset(id, type);

      if (offset != null)
      {
         byte[] value = m_map.get(offset);

         if (value != null && value.length >= 2)
         {
            result = MPPUtility.getShort(value, 0);
         }
      }

      return (result);
   }
803898
@SuppressWarnings("unchecked")
	@Override
	public Class<ID> getIdType() {
		Field idField = MetadataParser.getIdField(getJavaType());
		return (Class<ID>) idField.getType();
	}
708704
public static int getId(Context context, String id, String defType) {
        String type = "R." + defType + ".";
        if (id.startsWith(type)) {
            id = id.substring(type.length());
        }

        Resources r = context.getResources();
        int resId = r.getIdentifier(id, defType,
                context.getPackageName());
        if (resId > 0) {
            return resId;
        } else {
            throw new RuntimeAssertion("Specified resource '%s' could not be found", id);
        }
    }
1110904
private static String createTypeId(Type type) {
        if (type instanceof Class<?>)
            return Class.class.cast(type).getName();

        if (type instanceof ParameterizedType)
            return createTypeId(((ParameterizedType) type).getRawType())
                + Stream.of(((ParameterizedType) type).getActualTypeArguments())
                .map(CdiSpiHelper::createTypeId)
                .collect(joining(",", "<", ">"));

        if (type instanceof TypeVariable<?>)
            return TypeVariable.class.cast(type).getName();

        if (type instanceof GenericArrayType)
            return createTypeId(GenericArrayType.class.cast(type).getGenericComponentType());

        throw new UnsupportedOperationException("Unable to create type id for type [" + type + "]");
    }
694573
private Map<String, Object> getEntity(String type, String id) throws StorageException {
        try {
            JestResult response = esClient.execute(new Get.Builder(getIndexName(), id).type(type).build());
            if (!response.isSucceeded()) {
                return null;
            }
            return response.getSourceAsObject(Map.class);
        } catch (Exception e) {
            throw new StorageException(e);
        }
    }
499914
public static String typeIdToUri(String type_id) {
//        System.err.println("typeIdToUri(" + type_id + ")");
        byte[] data = null;
        try {
          data = type_id.getBytes("ISO8859-1");
        } catch(Exception e) {}
        byte[] dx = new byte[data.length+1];
        System.arraycopy(data, 0, dx, 0, data.length);
        dx[data.length] = 0;
        data = dx;
        int cursor = 0;
        int limit = data.length;
        int marker = -1;

        int gotoPoint = -1;
        byte yych = (byte) 0;
        gotoNext: while(gotoPoint != -2) {
            int currentGoto = gotoPoint; gotoPoint = -2;
            switch(currentGoto) {
            case -1: 

                yych = data[cursor];
                switch (yych) {
                case 0x00:    {gotoPoint = 2; continue gotoNext;}
                case '!':    {gotoPoint = 6; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 'u':
                case 'v':
                case 'w':
                case 'y':
                case 'z':    {gotoPoint = 8; continue gotoNext;}
                case 't':    {gotoPoint = 3; continue gotoNext;}
                case 'x':    {gotoPoint = 5; continue gotoNext;}
                default:    {gotoPoint = 9; continue gotoNext;}
                }
            case 2:
                cursor = marker;
                {gotoPoint = 4; continue gotoNext;}
            case 3:
                yych = data[(marker = ++cursor)];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '-':    {gotoPoint = 10; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 12; continue gotoNext;}
                case 'a':    {gotoPoint = 44; continue gotoNext;}
                default:    {gotoPoint = 4; continue gotoNext;}
                }
            case 4:
                {   return Parser.taguri(YAML.DOMAIN, type_id); }
            case 5:
                yych = data[(marker = ++cursor)];
                switch (yych) {
                case ',':
                case '.':
                case '/':
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 13; continue gotoNext;}
                case '-':    {gotoPoint = 34; continue gotoNext;}
                default:    {gotoPoint = 4; continue gotoNext;}
                }
            case 6:
                ++cursor;
                {   return Parser.xprivate(type_id.substring(1)); }
            case 8:
                yych = data[(marker = ++cursor)];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '-':    {gotoPoint = 10; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 12; continue gotoNext;}
                default:    {gotoPoint = 4; continue gotoNext;}
                }
            case 9:
                yych = data[++cursor];
                {gotoPoint = 4; continue gotoNext;}
            case 10:
                ++cursor;
                yych = data[cursor];
            case 11:
                switch (yych) {
                case '-':    {gotoPoint = 10; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 12; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 12:
                ++cursor;
                yych = data[cursor];
            case 13:
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '-':    {gotoPoint = 10; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 12; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 14:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 22; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 15:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 18; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 16:
                ++cursor;
                {   
                    return Parser.taguri(type_id.substring(0, cursor -1) + "." + YAML.DOMAIN, type_id.substring(cursor));
                }
            case 18:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '-':    {gotoPoint = 20; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 18; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 20:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case '-':    {gotoPoint = 20; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 18; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 22:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 23; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 23:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 24; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 24:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 25; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 25:
                yych = data[++cursor];
                switch (yych) {
                case '-':    {gotoPoint = 26; continue gotoNext;}
                case '/':    {gotoPoint = 27; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 26:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 29; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 27:
                ++cursor;
                {   
                               return Parser.taguri(type_id.substring(0, cursor-1), type_id.substring(cursor));
                            }
            case 29:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 30; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 30:
                yych = data[++cursor];
                switch (yych) {
                case '-':    {gotoPoint = 31; continue gotoNext;}
                case '/':    {gotoPoint = 27; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 31:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 32; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 32:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 33; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 33:
                yych = data[++cursor];
                switch (yych) {
                case '/':    {gotoPoint = 27; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 34:
                yych = data[++cursor];
                switch (yych) {
                case 'p':    {gotoPoint = 35; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 35:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'r':    {gotoPoint = 36; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 36:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'i':    {gotoPoint = 37; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 37:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'v':    {gotoPoint = 38; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 38:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'a':    {gotoPoint = 39; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 39:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 't':    {gotoPoint = 40; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 40:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'e':    {gotoPoint = 41; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 41:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case ':':    {gotoPoint = 42; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 42:
                ++cursor;
                {   return type_id; }
            case 44:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case 'g':    {gotoPoint = 45; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 45:
                yych = data[++cursor];
                switch (yych) {
                case ',':    {gotoPoint = 14; continue gotoNext;}
                case '.':    {gotoPoint = 15; continue gotoNext;}
                case '/':    {gotoPoint = 16; continue gotoNext;}
                case ':':    {gotoPoint = 46; continue gotoNext;}
                default:    {gotoPoint = 11; continue gotoNext;}
                }
            case 46:
                yych = data[++cursor];
                switch (yych) {
                case ',':
                case '-':
                case '.':    {gotoPoint = 2; continue gotoNext;}
                default:    {gotoPoint = 48; continue gotoNext;}
                }
            case 47:
                ++cursor;
                yych = data[cursor];
            case 48:
                switch (yych) {
                case ',':    {gotoPoint = 51; continue gotoNext;}
                case '-':    {gotoPoint = 49; continue gotoNext;}
                case '.':    {gotoPoint = 52; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 47; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 49:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case '-':    {gotoPoint = 49; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 47; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 51:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 57; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 52:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 53; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 53:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case ',':    {gotoPoint = 51; continue gotoNext;}
                case '-':    {gotoPoint = 55; continue gotoNext;}
                case '.':    {gotoPoint = 52; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 53; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 55:
                ++cursor;
                yych = data[cursor];
                switch (yych) {
                case '-':    {gotoPoint = 55; continue gotoNext;}
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':
                case 'A':
                case 'B':
                case 'C':
                case 'D':
                case 'E':
                case 'F':
                case 'G':
                case 'H':
                case 'I':
                case 'J':
                case 'K':
                case 'L':
                case 'M':
                case 'N':
                case 'O':
                case 'P':
                case 'Q':
                case 'R':
                case 'S':
                case 'T':
                case 'U':
                case 'V':
                case 'W':
                case 'X':
                case 'Y':
                case 'Z':
                case '_':
                case 'a':
                case 'b':
                case 'c':
                case 'd':
                case 'e':
                case 'f':
                case 'g':
                case 'h':
                case 'i':
                case 'j':
                case 'k':
                case 'l':
                case 'm':
                case 'n':
                case 'o':
                case 'p':
                case 'q':
                case 'r':
                case 's':
                case 't':
                case 'u':
                case 'v':
                case 'w':
                case 'x':
                case 'y':
                case 'z':    {gotoPoint = 53; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 57:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 58; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 58:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 59; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 59:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 60; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 60:
                yych = data[++cursor];
                switch (yych) {
                case '-':    {gotoPoint = 61; continue gotoNext;}
                case ':':    {gotoPoint = 62; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 61:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 64; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 62:
                ++cursor;
                {   return type_id; }
            case 64:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 65; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 65:
                yych = data[++cursor];
                switch (yych) {
                case '-':    {gotoPoint = 66; continue gotoNext;}
                case ':':    {gotoPoint = 62; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 66:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 67; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 67:
                yych = data[++cursor];
                switch (yych) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
                case '8':
                case '9':    {gotoPoint = 68; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            case 68:
                ++cursor;
                switch ((yych = data[cursor])) {
                case ':':    {gotoPoint = 62; continue gotoNext;}
                default:    {gotoPoint = 2; continue gotoNext;}
                }
            }
        }

        return null;
    }
16594
public int indexOf(IESigType eSigType, String id) {
        return items.indexOf(new ESigItem(eSigType, id));
    }
493228
@SuppressWarnings("unchecked")
    public <T extends AbstractJaxb> T getById(String id) {
        Object obj = GetByIdUtil.getById(id, this);
        return (T) obj;
    }
463149
@Override
	public <T> T get(int index, Class<T> type) {
		if (FETCHERS.containsKey(type))
			return getByType(index, type);
		else
			throw new IllegalArgumentException("has no value with " + type + " at index " + index);
	}
119384
public String getString(Integer id, Integer type)
   {
      return (getString(m_meta.getOffset(id, type)));
   }
531351
private static Integer decimalDigits(Type type)
    {
        if (type instanceof DecimalType) {
            return ((DecimalType) type).getScale();
        }
        return null;
    }
920428
@Override
    public Type<?> getIdType()
    {
        if (idAttribute != null && !isIdClass)
        {
            return idAttribute.getType();
        }

        return getSupertype().getIdType();
    }
131664
public Integer getVarDataKey(FieldType type)
   {
      Integer result = null;
      FieldItem item = m_map.get(type);
      if (item != null)
      {
         result = item.getVarDataKey();
      }
      return result;
   }
540772
EntityType getEntityTypeBypassingRegistry(String entityTypeId) {
    return entityTypeId != null
        ? dataService.findOneById(
            ENTITY_TYPE_META_DATA, entityTypeId, getEntityTypeFetch(), EntityType.class)
        : null;
  }
637028
protected Object getFieldData(Integer id, FieldType type, byte[][] fixedData, Var2Data varData)
   {
      Object result = null;

      FieldItem item = m_map.get(type);
      if (item != null)
      {
         result = item.read(id, fixedData, varData);
      }

      return result;
   }
1033542
public <T> Local<T> getThis(TypeId<T> type) {
        if (thisLocal == null) {
            throw new IllegalStateException("static methods cannot access 'this'");
        }
        return coerce(thisLocal, type);
    }
1128332
public int getInvertedListId(String id) throws Exception {
		int iid = getInternalId(id);
		if (iid == -1) {
			throw new Exception("Id does not exist!");
		}

		DatabaseEntry key = new DatabaseEntry();
		IntegerBinding.intToEntry(iid, key);
		DatabaseEntry data = new DatabaseEntry();
		if ((iidToIvfpqDB.get(null, key, data, null) == OperationStatus.SUCCESS)) {
			TupleInput input = TupleBinding.entryToInput(data);
			int listId = input.readInt();
			return listId;
		} else {
			throw new Exception("Id does not exist!");
		}
	}