relation_completer progress
This commit is contained in:
@@ -32,4 +32,12 @@ bool relation_endpoint::is_has_many() const {
|
||||
bool relation_endpoint::is_belongs_to() const {
|
||||
return type_ == relation_type::BELONGS_TO;
|
||||
}
|
||||
|
||||
std::shared_ptr<relation_endpoint> relation_endpoint::foreign_endpoint() const {
|
||||
return foreign_endpoint_;
|
||||
}
|
||||
|
||||
void relation_endpoint::link_foreign_endpoint( const std::shared_ptr<relation_endpoint>& endpoint ) {
|
||||
foreign_endpoint_ = endpoint;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user