Examples of PtObjectType


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

        super(dataImporter, PtObject.class);
    }

    @Override
    protected void processRow(PtObject row) {
        PtObjectType ptObjectType = getDataImporter().getObjectTypes().get(row.getType());
        if (ptObjectType == null) {
            throw new LumifyException("Could not find object type: " + row.getType());
        }
        String conceptTypeUri = getConceptTypeUri(ptObjectType.getUri());

        VertexBuilder v = getDataImporter().getGraph().prepareVertex(getObjectId(row), getDataImporter().getVisibility());
        LumifyProperties.CONCEPT_TYPE.setProperty(v, conceptTypeUri, getDataImporter().getVisibility());
        v.save(getDataImporter().getAuthorizations());
    }
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.