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 name attribute of the reference element. 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 interface attribute of the reference element.

std::string cardinality

The cardinality of the reference.

This is declared in the cardinality attribute of the reference element. 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 policy attribute of the reference element. 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-option attribute of the reference element. 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 target attribute of the reference element. 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 bind attribute of the reference element. 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 unbind attribute of the reference element. 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 updated attribute of the reference element. 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 scope attribute of the reference element. This must be the default scope if the component description does not declare a scope for the reference.