ReferenceDTO¶
-
struct
cppmicroservices::service::component::runtime::dto::ReferenceDTO¶ - #include <cppmicroservices/servicecomponent/runtime/dto/ReferenceDTO.hpp>
A representation of a declared reference to a service.
Public Members
-
std::string
name¶ The name of the reference.
This is declared in the
nameattribute of thereferenceelement. This must be the default name if the component description does not declare a name for the reference.
-
std::string
interfaceName¶ The service interface of the reference.
This is declared in the
interfaceattribute of thereferenceelement.
-
std::string
cardinality¶ The cardinality of the reference.
This is declared in the
cardinalityattribute of thereferenceelement. This must be the default cardinality if the component description does not declare a cardinality for the reference.
-
std::string
policy¶ The policy of the reference.
This is declared in the
policyattribute of thereferenceelement. This must be the default policy if the component description does not declare a policy for the reference.
-
std::string
policyOption¶ The policy option of the reference.
This is declared in the
policy-optionattribute of thereferenceelement. This must be the default policy option if the component description does not declare a policy option for the reference.
-
std::string
target¶ The target of the reference.
This is declared in the
targetattribute of thereferenceelement. This must be an empty string if the component description does not declare a target for the reference.
-
std::string
bind¶ The name of the bind method of the reference.
This is declared in the
bindattribute of thereferenceelement. This must be an empty string if the component description does not declare a bind method for the reference.
-
std::string
unbind¶ The name of the unbind method of the reference.
This is declared in the
unbindattribute of thereferenceelement. This must be an empty string if the component description does not declare an unbind method for the reference.
-
std::string
updated¶ The name of the updated method of the reference.
This is declared in the
updatedattribute of thereferenceelement. This must be an empty string if the component description does not declare an updated method for the reference.
-
std::string
scope¶ The scope of the reference.
This is declared in the
scopeattribute of thereferenceelement. This must be the default scope if the component description does not declare a scope for the reference.
-
std::string