All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinkerpop.frames.Incidence Maven / Gradle / Ivy

Go to download

Windup Frames is an extension of the upstream Frames project, with tools to ease debugging and integration within windup.

There is a newer version: 4.0.1.Final
Show newest version
package com.tinkerpop.frames;

import com.tinkerpop.blueprints.Direction;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Incidences annotate getters and adders to represent a Vertex incident to an Edge.
 *
 * @author Marko A. Rodriguez (http://markorodriguez.com)
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Incidence {
    /**
     * The labels of the edges that are incident to the vertex.
     *
     * @return the edge label
     */
    public String label();

    /**
     * The direction of the edges.
     *
     * @return the edge direction
     */
    public Direction direction() default Direction.OUT;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy