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

org.odpi.openmetadata.accessservices.assetlineage.model.RelationshipsContext Maven / Gradle / Ivy

There is a newer version: 5.0
Show newest version
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.assetlineage.model;

import java.util.Set;
/**
 * Contains a set of lineage relationship in the lineage graph with self contained properties.
 */
public class RelationshipsContext {
    private String entityGuid;
    private Set relationships;

    public RelationshipsContext() {
    }

    public RelationshipsContext(String entityGuid, Set relationships) {
        this.entityGuid = entityGuid;
        this.relationships = relationships;
    }

    public String getEntityGuid() {
        return entityGuid;
    }

    public void setEntityGuid(String entityGuid) {
        this.entityGuid = entityGuid;
    }

    public Set getRelationships() {
        return relationships;
    }

    public void setRelationships(Set relationships) {
        this.relationships = relationships;
    }

    @Override
    public String toString() {
        return "RelationshipsContext{" +
                "entityGuid='" + entityGuid + '\'' +
                ", relationships=" + relationships +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy