Package com.tinkerpop.gremlin.structure

Examples of com.tinkerpop.gremlin.structure.Element$Exceptions


            throw new IllegalStateException("The detached property could not be be found at the provided vertex: " + this);
    }

    @Override
    public Property<V> attach(final Graph hostGraph) {
        final Element hostElement = (this.element() instanceof Vertex) ?
                hostGraph.v(this.element().id()) :
                hostGraph.e(this.element().id());
        final Property<V> property = hostElement.property(this.isHidden() ? Graph.Key.hide(this.key) : this.key);
        if (property.isPresent()) // && property.value().equals(this.value))
            return property;
        else
            throw new IllegalStateException("The detached property could not be be found at the provided vertex: " + this);
    }
View Full Code Here

TOP

Related Classes of com.tinkerpop.gremlin.structure.Element$Exceptions

Copyright © 2018 www.massapicom. 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.