Java Code Examples for org.apache.tinkerpop.gremlin.structure.Direction#OUT

The following examples show how to use org.apache.tinkerpop.gremlin.structure.Direction#OUT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ComputerVertex.java    From Ferma with Apache License 2.0 4 votes vote down vote up
@Adjacency(label = "connects", direction = Direction.OUT)
<T extends NetworkDeviceVertex> void setOutConnectionsWith(Iterable<T> connectees);
 
Example 2
Source File: JavaClassVertex.java    From Ferma with Apache License 2.0 4 votes vote down vote up
@Incidence(label = "implements", direction = Direction.OUT, operation = Incidence.Operation.ADD)
public TEdge implementNewInterface();
 
Example 3
Source File: JavaTypeReferenceModel.java    From windup with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Overrides the default behavior to get the {@link JavaSourceFileModel} directly.
 */
@Override
@Adjacency(label = FILE_MODEL, direction = Direction.OUT)
AbstractJavaSourceModel getFile();
 
Example 4
Source File: ExecutionPhaseModel.java    From windup with Eclipse Public License 1.0 4 votes vote down vote up
@Adjacency(label = RULE_PROVIDERS, direction = Direction.OUT)
void setRuleProviders(List<RuleProviderModel> ruleProviders);
 
Example 5
Source File: JavaTypeIllegalVertex9.java    From Ferma with Apache License 2.0 4 votes vote down vote up
@Adjacency(label = "implements", direction = Direction.OUT)
public <T extends ImplementsEdge> List<T> addImplEdge(
        JavaInterfaceVertex impltemented1,
        JavaInterfaceVertex impltemented2,
        JavaInterfaceVertex impltemented3);
 
Example 6
Source File: WindupConfigurationModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * The location for user provided rules directories (typically Groovy or XML Rules)
 */
@Adjacency(label = USER_RULES_PATH, direction = Direction.OUT)
void addUserRulesPath(FileModel userRulesPath);
 
Example 7
Source File: WindupJavaConfigurationModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * What Java packages to exclude during scanning of applications.
 */
@Adjacency(label = EXCLUDE_JAVA_PACKAGES, direction = Direction.OUT)
List<PackageModel> getExcludeJavaPackages();
 
Example 8
Source File: ApplicationReportModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * The ProjectModel associated with this Application Report.
 */
@Adjacency(label = REPORT_TO_PROJECT_MODEL, direction = Direction.OUT)
ProjectModel getProjectModelNotNullSafe();
 
Example 9
Source File: HibernateMappingFileModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Contains the list of all {@link HibernateEntityModel}s referenced by this mapping file
 */
@Adjacency(label = HIBERNATE_ENTITY, direction = Direction.OUT)
void addHibernateEntity(HibernateEntityModel hibernateEntity);
 
Example 10
Source File: DuplicateProjectModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Contains a reference to the canonical (non-duplicated) project.
 */
@Adjacency(label = CANONICAL_PROJECT, direction = Direction.OUT)
ProjectModel getCanonicalProject();
 
Example 11
Source File: XsltTransformationModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Links to the original {@link FileModel} with the original XML contents.
 */
@Adjacency(label = FILE_SOURCE, direction = Direction.OUT)
void setSourceFile(FileModel file);
 
Example 12
Source File: JaxRSWebServiceModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Contains the JAX-RS implementation class
 */
@Adjacency(label = JAXRS_INTERFACE, direction = Direction.OUT)
void setInterface(JavaClassModel interfaceRef);
 
Example 13
Source File: ProjectModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * The parent ProjectModel, or null if no parent is present.
 */
@Adjacency(label = PARENT_PROJECT, direction = Direction.OUT)
ProjectModel getParentProjectNotNullSafe();
 
Example 14
Source File: SourceReportModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Contains all {@link ProjectModel}s that contain this file, including any duplicate {@link ProjectModel}s.
 */
@Incidence(label = SOURCE_REPORT_TO_PROJECT_MODEL, direction = Direction.OUT)
SourceReportToProjectEdgeModel addProjectModel(ProjectModel projectModel, ClassInitializer<SourceReportToProjectEdgeModel> initializer);
 
Example 15
Source File: SpringBeanModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Contains the application in which this Spring Bean  was discovered.
 */
@Adjacency(label = APPLICATIONS, direction = Direction.OUT)
void setApplications(Iterable<ProjectModel> applications);
 
Example 16
Source File: WindupConfigurationModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * The location for user provided labels directories (typically XML Labels)
 */
@Adjacency(label = USER_LABELS_PATH, direction = Direction.OUT)
List<FileModel> getUserLabelsPaths();
 
Example 17
Source File: UnparsablesAppReportModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * All related (canonical) projects.
 */
@Adjacency(label = ALL_SUB_PROJECTS, direction = Direction.OUT)
List<ProjectModel> getAllSubProjects();
 
Example 18
Source File: AbstractJavaSourceModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * This is the "root" directory for this source file.
 *
 * For example, if you have a file at "/project/src/main/java/org/example/Foo.java" then this would point the directory "/project/src/main/java".
 *
 */
@Adjacency(label = ROOT_SOURCE_FOLDER, direction = Direction.OUT)
void setRootSourceFolder(FileModel fileModel);
 
Example 19
Source File: WindupVertexListModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Adds the provided item to the list.
 */
@Adjacency(label = "list", direction = Direction.OUT)
void addItem(T item);
 
Example 20
Source File: WindupConfigurationModel.java    From windup with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * The input path to scan
 */
@Adjacency(label = INPUT_PATH, direction = Direction.OUT)
List<FileModel> getInputPaths();