THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
public class QueryFieldInfo implements TypeInfo { /** Serial version UID. */ private static final long serialVersionUID = 0L; /** Field name. */ private String name; /** Field class. */ private Class cls; /** Whether to index the field. Disabled by default. */ private QueryFieldIndex idx = QueryFieldIndex.NONE; } |
Code Block | ||
---|---|---|
| ||
public enum QueryFieldIndex { NONE, ASC, DESC } |
Notes
QueryFieldInfo.cls is a problem for non-Java users, because they have to write ugly things like "java.lang.Integer" which is very hard to understand for non-Java users. Lets switch to enum here?