renamed schema to repository
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "matador/object/relation_endpoint.hpp"
|
||||
|
||||
#include "matador/object/schema_node.hpp"
|
||||
#include "matador/object/repository_node.hpp"
|
||||
|
||||
namespace matador::object {
|
||||
relation_endpoint::relation_endpoint(std::string field_name, const relation_type type, const std::shared_ptr<schema_node> &node)
|
||||
relation_endpoint::relation_endpoint(std::string field_name, const relation_type type, const std::shared_ptr<repository_node> &node)
|
||||
: field_name_(std::move(field_name))
|
||||
, type_(type)
|
||||
, node_(node) {
|
||||
@@ -21,11 +21,11 @@ std::string relation_endpoint::type_name() const {
|
||||
return relation_type_enum.to_string(type_);
|
||||
}
|
||||
|
||||
const schema_node &relation_endpoint::node() const {
|
||||
const repository_node &relation_endpoint::node() const {
|
||||
return *node_;
|
||||
}
|
||||
|
||||
std::shared_ptr<schema_node> relation_endpoint::node_ptr() const {
|
||||
std::shared_ptr<repository_node> relation_endpoint::node_ptr() const {
|
||||
return node_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user