private AtlasEdge createInverseReference ( AtlasAttribute inverseAttribute , AtlasStructType inverseAttributeType , AtlasVertex inverseVertex , AtlasVertex vertex ) throws AtlasBaseException { String propertyName = AtlasGraphUtilsV1 . getQualifiedAttributePropertyKey ( inverseAttributeType , inverseAttribute . getName ( ) ) ; String inverseEdgeLabel = AtlasGraphUtilsV1 . getEdgeLabel ( propertyName ) ; AtlasEdge ret ; try { ret = graphHelper . getOrCreateEdge ( inverseVertex , vertex , inverseEdgeLabel ) ; } catch ( RepositoryException e ) { throw new AtlasBaseException ( AtlasErrorCode . INTERNAL_ERROR , e ) ; } return ret ; }
legacy method to create edges for inverse reference