11#ifndef GI_GBPE_EPGMAPPINGCTXTOEPGMAPPINGRSRC_HPP
12#define GI_GBPE_EPGMAPPINGCTXTOEPGMAPPINGRSRC_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 = 22;
93 return getObjectInstance().isSet(720899ul, opflex::modb::PropertyInfo::REFERENCE);
220 getTLMutator().modify(
getClassId(),
getURI())->unset(720899ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
291 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc> >
resolve(
293 const opflex::modb::URI&
uri)
295 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc>(
framework,
CLASS_ID,
uri);
309 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc> >
resolve(
310 const opflex::modb::URI&
uri)
312 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
427 const opflex::modb::URI&
uri)
444 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
542 opflex::modb::ObjectListener*
listener)
544 opflex::modb::mointernal
560 opflex::modb::ObjectListener*
listener)
573 opflex::modb::ObjectListener*
listener)
575 opflex::modb::mointernal
586 opflex::modb::ObjectListener*
listener)
597 const opflex::modb::URI&
uri,
Definition EpgMappingCtxToEpgMappingRSrc.hpp:23
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setTargetIndirectEpgMapping(const std::string &gbpeIndirectEpgMappingName)
Set the reference to point to an instance of IndirectEpgMapping in the currently-active mutator by co...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:205
bool isTypeSet()
Check whether type has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:228
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 EpgMappingCtxToEpgMappingRSrc.hpp:540
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setTargetIndirectEpgMapping(const opflex::modb::URI &uri)
Set the reference to point to an instance of IndirectEpgMapping with the specified URI.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:184
opflex::modb::class_id_t getTargetClass(opflex::modb::class_id_t defaultValue)
Get the value of targetClass if set, otherwise the value of default passed in.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:123
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & unsetType()
Unset type in the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:274
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:69
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setTargetEpgMapping(const opflex::modb::URI &uri)
Set the reference to point to an instance of EpgMapping with the specified URI.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:147
static void remove(const opflex::modb::URI &uri)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified URI using the currently-active mut...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:442
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:262
EpgMappingCtxToEpgMappingRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMappingCtxToEpgMappingRSrc.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:595
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolveUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(const std::string &epdrLocalL2EpUuid)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the default managed object store by constr...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:353
bool isTargetSet()
Check whether target has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:91
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:237
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified URI using the currently-active mut...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:426
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:585
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:411
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:571
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:100
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & setTargetEpgMapping(const std::string &gbpeEpgMappingName)
Set the reference to point to an instance of EpgMapping in the currently-active mutator by constructi...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:168
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the managed object store.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:291
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.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 EpgMappingCtxToEpgMappingRSrc.hpp:249
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:111
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolveUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the managed object store by constructing i...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:375
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolveUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL2EpUuid)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the managed object store by constructing i...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:331
modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:218
static void removeUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(const std::string &epdrLocalL3EpUuid)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified path elements from the managed obj...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:523
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:133
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 EpgMappingCtxToEpgMappingRSrc.hpp:559
bool isRoleSet()
Check whether role has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:35
static void removeUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL2EpUuid)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified path elements from the managed obj...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:461
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:56
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMappingCtxToEpgMappingRSrc.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:29
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpgMappingCtxToEpgMappingRSrc.hpp:44
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolveUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(const std::string &epdrLocalL3EpUuid)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the default managed object store by constr...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:397
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToEpgMappingRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxToEpgMappingRSrc from the managed object store using the default...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:309
static void removeUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(const std::string &epdrLocalL2EpUuid)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified path elements from the managed obj...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:482
static void removeUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Remove the EpgMappingCtxToEpgMappingRSrc object with the specified path elements from the managed obj...
Definition EpgMappingCtxToEpgMappingRSrc.hpp:502
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12