Package org.molgenis.fieldtypes

Examples of org.molgenis.fieldtypes.IntField


      addType(new LongField());
      addType(new MrefField());
      addType(new StringField());
      addType(new TextField());
      addType(new XrefField());
      addType(new IntField());
      addType(new RichtextField());
      addType(new FreemarkerField());

      init = true;
    }
View Full Code Here


        return new LongField();

      case java.sql.Types.INTEGER:
      case java.sql.Types.SMALLINT:
      case java.sql.Types.TINYINT:
        return new IntField();

      case java.sql.Types.BOOLEAN:
      case java.sql.Types.BIT:
        return new BoolField();
View Full Code Here

    MolgenisFieldTypes.addType(new LongField());
    MolgenisFieldTypes.addType(new MrefField());
    MolgenisFieldTypes.addType(new StringField());
    MolgenisFieldTypes.addType(new TextField());
    MolgenisFieldTypes.addType(new XrefField());
    MolgenisFieldTypes.addType(new IntField());
  }
View Full Code Here

            mrefEntity.setDescription("Link table for many-to-many relationship '"
                + xref_entity_from.getName() + "." + xref_field_from.getName() + "'.");
            mrefEntity.setSystem(true);

            // create id field to ensure ordering
            Field idField = new Field(mrefEntity, new IntField(), "autoid", "autoid", true, false, false,
                null);
            idField.setHidden(true);
            idField.setDescription("automatic id field to ensure ordering of mrefs");
            mrefEntity.addField(idField);
            mrefEntity.addKey(idField.getName(), "unique auto key to ensure ordering of mrefs");
View Full Code Here

TOP

Related Classes of org.molgenis.fieldtypes.IntField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.