Examples of PtPropertyType


Examples of io.lumify.palantir.dataImport.model.PtPropertyType

        super(dataImporter, PtPropertyAndValue.class);
    }

    @Override
    protected void processRow(PtPropertyAndValue row) {
        PtPropertyType propertyType = getDataImporter().getPropertyTypes().get(row.getType());
        if (propertyType == null) {
            throw new LumifyException("Could not find property type: " + row.getType());
        }

        String propertyKey = getDataImporter().getIdPrefix() + row.getPropertyValueId();
        String propertyName = getPropertyName(propertyType.getUri());
        Object propertyValue = propertyType.getDisplayFormula().toValue(row.getValue());
        propertyValue = toValueGeo(row, propertyValue);

        if (propertyValue == null) {
            // skip null values
        } else {
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.