Examples of FieldType


Examples of org.locationtech.geogig.storage.FieldType

            } else {
                Object value = null;
                for (Tag tag : tags) {
                    if (fields.containsKey(tag.getKey())) {
                        if (fields.get(tag.getKey()).getName().equals(attrName)) {
                            FieldType type = FieldType.forBinding(clazz);
                            value = getAttributeValue(tag.getValue(), type);
                            break;
                        }
                    }
                }
View Full Code Here

Examples of org.molgenis.fieldtypes.FieldType

  public static FieldType getType(String name)
  {
    init();

    FieldType fieldType = types.get(name + "field");
    if (fieldType != null)
    {
      try
      {
        return fieldType.getClass().newInstance();
      }
      catch (InstantiationException e)
      {
        throw new RuntimeException(e);
      }
View Full Code Here

Examples of org.odftoolkit.simple.common.field.Field.FieldType

      VariableField simpleVariableField = Fields.createSimpleVariableField(doc, "test_simple_variable");
      Assert.assertNotNull(simpleVariableField);
      TextSpanElement newTextSpanElement = doc.newParagraph("Update Simple Variable Field:").newTextSpanElement();
      simpleVariableField.updateField("simple variable content", newTextSpanElement);
     
      FieldType fieldType = simpleVariableField.getFieldType();
      Assert.assertNotNull(fieldType);
      Assert.assertEquals(FieldType.SIMPLE_VARIABLE_FIELD, fieldType);
    } catch (Exception e) {
      LOG.log(Level.SEVERE, e.getMessage(), e);
      Assert.fail(e.getMessage());
View Full Code Here

Examples of org.pentaho.metadata.model.concept.types.FieldType

    if (String.class.equals(type) == false)
    {
      return null;
    }

    FieldType fieldTypeSettings = (FieldType) value;
    if (FieldType.ATTRIBUTE.equals(fieldTypeSettings))
    {
      return "attribute";
    }
    if (FieldType.FACT.equals(fieldTypeSettings))
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.FieldType

      fieldProperties.setValueAsString(valueString);
    }
    final WebMarkupContainer row = new WebMarkupContainer(rows.newChildId());
    rows.add(row);
    row.add(new Label("label", getString(fieldProperties.getLabel())));
    final FieldType type = fieldProperties.getFieldType();
    if (type == FieldType.WEB_PAGE) {
      row.add(new ActionLinkPanel("value", ActionLinkType.EXTERNAL_URL, valueString));
    } else if (type == FieldType.PHONE_NO) {
      row.add(new ActionLinkPanel("value", ActionLinkType.CALL, valueString));
    } else if (type == FieldType.MOBILE_PHONE_NO) {
View Full Code Here

Examples of protobuf.lang.psi.PbPsiEnums.FieldType

        return fieldType.getType();
    }

    @Override
    public FieldType getConcreteType() {
        FieldType commonType = getType();
        switch (commonType) {
            case CUSTOM_TYPE: {
                return FieldType.CUSTOM_TYPE;
            }
            case BUILT_IN_TYPE: {
View Full Code Here

Examples of quickfix.FieldType

                int tag = field.getField();
                sb.append("[ \"").append(field.getObject().toString()).append("\", \"").
                append(dd.getValueName(tag, field.getObject().toString())).
                append("\" ]");
            } else {
                FieldType fieldType = dd.getFieldTypeEnum(field.getField());
                if (Number.class.isAssignableFrom(fieldType.getJavaType())) {
                    sb.append(field.getObject());
                } else {
                    sb.append("\"").append(field.getObject().toString()).append("\"");
                }
            }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.FieldType

  public static void serialiseFieldsInPayload(XMLNamespaceContext namespaces, Payload p, Element parent, Document xmldoc) {
   
    Map<String, Field> fieldDefinitions = p.getFieldDefinitions();
    for (String fieldName : fieldDefinitions.keySet()) {
      Field field = fieldDefinitions.get(fieldName);
      FieldType fieldType = field.getTypeEnum();
      Logger.trace("===== Processing field: " + field.getName() + " - type specified as: " + fieldType.name() + " multiplicity = " + field.getMaxOccurs());

      FieldHandler handler = fieldType.getHandler();
     
      String xpath = field.getXpath();
      String strValue = null;
      Object fieldValue = p.getValue(field.getName());
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.