11#ifndef GI_DCI_DOMAINFROMGBPROUTINGDOMAINRTGT_HPP
12#define GI_DCI_DOMAINFROMGBPROUTINGDOMAINRTGT_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 89;
139 getTLMutator().modify(
getClassId(),
getURI())->unset(2916355ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
210 static boost::optional<OF_SHARED_PTR<modelgbp::dci::DomainFromGbpRoutingDomainRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::DomainFromGbpRoutingDomainRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::dci::DomainFromGbpRoutingDomainRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::DomainFromGbpRoutingDomainRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
254 static boost::optional<OF_SHARED_PTR<modelgbp::dci::DomainFromGbpRoutingDomainRTgt> >
resolve(
282 static boost::optional<OF_SHARED_PTR<modelgbp::dci::DomainFromGbpRoutingDomainRTgt> >
resolve(
314 const opflex::modb::URI&
uri)
331 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
400 opflex::modb::ObjectListener*
listener)
402 opflex::modb::mointernal
418 opflex::modb::ObjectListener*
listener)
431 opflex::modb::ObjectListener*
listener)
433 opflex::modb::mointernal
444 opflex::modb::ObjectListener*
listener)
455 const opflex::modb::URI&
uri,
Definition DomainFromGbpRoutingDomainRTgt.hpp:23
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:125
bool isRoleSet()
Check whether role has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:35
bool isTypeSet()
Check whether type has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:147
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition DomainFromGbpRoutingDomainRTgt.hpp:417
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition DomainFromGbpRoutingDomainRTgt.hpp:112
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:137
static void remove(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &dciDomainFromGbpRoutingDomainRTgtSource)
Remove the DomainFromGbpRoutingDomainRTgt object with the specified path elements from the managed ob...
Definition DomainFromGbpRoutingDomainRTgt.hpp:352
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition DomainFromGbpRoutingDomainRTgt.hpp:443
DomainFromGbpRoutingDomainRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DomainFromGbpRoutingDomainRTgt.
Definition DomainFromGbpRoutingDomainRTgt.hpp:453
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the DomainFromGbpRoutingDomainRTgt object with the specified URI using the currently-active mu...
Definition DomainFromGbpRoutingDomainRTgt.hpp:313
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:181
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:81
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition DomainFromGbpRoutingDomainRTgt.hpp:168
void remove()
Remove this instance using the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:298
static boost::optional< OF_SHARED_PTR< modelgbp::dci::DomainFromGbpRoutingDomainRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DomainFromGbpRoutingDomainRTgt from the managed object store using the defaul...
Definition DomainFromGbpRoutingDomainRTgt.hpp:228
bool isSourceSet()
Check whether source has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:91
static boost::optional< OF_SHARED_PTR< modelgbp::dci::DomainFromGbpRoutingDomainRTgt > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &dciDomainFromGbpRoutingDomainRTgtSource)
Retrieve an instance of DomainFromGbpRoutingDomainRTgt from the managed object store by constructing ...
Definition DomainFromGbpRoutingDomainRTgt.hpp:254
static void remove(const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &dciDomainFromGbpRoutingDomainRTgtSource)
Remove the DomainFromGbpRoutingDomainRTgt object with the specified path elements from the managed ob...
Definition DomainFromGbpRoutingDomainRTgt.hpp:379
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DomainFromGbpRoutingDomainRTgt.
Definition DomainFromGbpRoutingDomainRTgt.hpp:29
static boost::optional< OF_SHARED_PTR< modelgbp::dci::DomainFromGbpRoutingDomainRTgt > > resolve(const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &dciDomainFromGbpRoutingDomainRTgtSource)
Retrieve an instance of DomainFromGbpRoutingDomainRTgt from the default managed object store by const...
Definition DomainFromGbpRoutingDomainRTgt.hpp:282
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:100
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:156
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition DomainFromGbpRoutingDomainRTgt.hpp:398
static boost::optional< OF_SHARED_PTR< modelgbp::dci::DomainFromGbpRoutingDomainRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DomainFromGbpRoutingDomainRTgt from the managed object store.
Definition DomainFromGbpRoutingDomainRTgt.hpp:210
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition DomainFromGbpRoutingDomainRTgt.hpp:44
static void remove(const opflex::modb::URI &uri)
Remove the DomainFromGbpRoutingDomainRTgt object with the specified URI using the currently-active mu...
Definition DomainFromGbpRoutingDomainRTgt.hpp:329
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & unsetType()
Unset type in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:193
modelgbp::dci::DomainFromGbpRoutingDomainRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition DomainFromGbpRoutingDomainRTgt.hpp:69
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition DomainFromGbpRoutingDomainRTgt.hpp:56
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition DomainFromGbpRoutingDomainRTgt.hpp:429
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12