Changeset 2612
- Timestamp:
- 01/31/10 09:09:02 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molgenis/3.3/src/org/molgenis/model/elements/Entity.java
r2610 r2612 260 260 Vector<String> enumOptions = new Vector<String>(); 261 261 enumOptions.add(getName()); 262 Field type_field = new Field(this, Field.Type.ENUM, " Type", "Type", true, false, true, null);262 Field type_field = new Field(this, Field.Type.ENUM, "type", "type", true, false, true, null); 263 263 type_field.setDescription("Subtypes of " + getName() + ". Have to be set to allow searching"); 264 264 type_field.setEnumOptions(enumOptions); … … 552 552 { 553 553 ifaceField.setEntity(this); 554 all_fields.put(ifaceField.getName() .toLowerCase(), ifaceField);554 all_fields.put(ifaceField.getName(), ifaceField); 555 555 } 556 556 } … … 561 561 for (Field f : getAncestor().getAllFields()) 562 562 { 563 all_fields.put(f.getName() .toLowerCase(), f);563 all_fields.put(f.getName(), f); 564 564 } 565 565 } … … 568 568 for (Field f : getFields()) 569 569 { 570 all_fields.put(f.getName() .toLowerCase(), f);570 all_fields.put(f.getName(), f); 571 571 } 572 572
Note: See TracChangeset
for help on using the changeset viewer.