Examples/src/main/java/org/openestate/io/examples/FilemakerWritingExample.java
protected static MetaDataType createMetaData() {
        MetaDataType metadata = FACTORY.createMetaDataType();
        MetaDataType.FIELD field;

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("number of rooms");
        field.setEMPTYOK(true);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.NUMBER);
        metadata.getFIELD().add(field);

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("price");
        field.setEMPTYOK(false);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.NUMBER);
        metadata.getFIELD().add(field);

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("description");
        field.setEMPTYOK(true);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.TEXT);
        metadata.getFIELD().add(field);

        return metadata;
    }
protected static MetaDataType createMetaData() {
        MetaDataType metadata = FACTORY.createMetaDataType();
        MetaDataType.FIELD field;

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("number of rooms");
        field.setEMPTYOK(true);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.NUMBER);
        metadata.getFIELD().add(field);

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("price");
        field.setEMPTYOK(false);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.NUMBER);
        metadata.getFIELD().add(field);

        field = FACTORY.createMetaDataTypeFIELD();
        field.setNAME("description");
        field.setEMPTYOK(true);
        field.setMAXREPEAT(BigInteger.ONE);
        field.setTYPE(FieldType.TEXT);
        metadata.getFIELD().add(field);

        return metadata;
    }
Create a {@link MetaDataType} with some example data.

@return created example object