11#ifndef GI_GBPE_EPGMAPPINGCTXTOATTRSETRSRC_HPP
12#define GI_GBPE_EPGMAPPINGCTXTOATTRSETRSRC_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 = 25;
93 return getObjectInstance().isSet(819203ul, opflex::modb::PropertyInfo::REFERENCE);
183 getTLMutator().modify(
getClassId(),
getURI())->unset(819203ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
254 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc> >
resolve(
256 const opflex::modb::URI&
uri)
258 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc>(
framework,
CLASS_ID,
uri);
272 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc> >
resolve(
273 const opflex::modb::URI&
uri)
275 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
390 const opflex::modb::URI&
uri)
407 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
505 opflex::modb::ObjectListener*
listener)
507 opflex::modb::mointernal
523 opflex::modb::ObjectListener*
listener)
536 opflex::modb::ObjectListener*
listener)
538 opflex::modb::mointernal
549 opflex::modb::ObjectListener*
listener)
560 const opflex::modb::URI&
uri,
Definition EpgMappingCtxToAttrSetRSrc.hpp:23
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMappingCtxToAttrSetRSrc.
Definition EpgMappingCtxToAttrSetRSrc.hpp:29
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:200
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolveUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the managed object store by constructing its ...
Definition EpgMappingCtxToAttrSetRSrc.hpp:338
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:225
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolveUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(const std::string &epdrLocalL3EpUuid)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the default managed object store by construct...
Definition EpgMappingCtxToAttrSetRSrc.hpp:360
static void removeUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(const std::string &epdrLocalL2EpUuid)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified path elements from the managed object...
Definition EpgMappingCtxToAttrSetRSrc.hpp:445
bool isTargetSet()
Check whether target has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:91
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:81
static void removeUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified path elements from the managed object...
Definition EpgMappingCtxToAttrSetRSrc.hpp:465
static void removeUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL2EpUuid)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified path elements from the managed object...
Definition EpgMappingCtxToAttrSetRSrc.hpp:424
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & setTargetEpAttributeSet(const std::string &gbpeEpAttributeSetUuid)
Set the reference to point to an instance of EpAttributeSet in the currently-active mutator by constr...
Definition EpgMappingCtxToAttrSetRSrc.hpp:168
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:100
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified URI using the currently-active mutato...
Definition EpgMappingCtxToAttrSetRSrc.hpp:389
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & setTargetEpAttributeSet(const opflex::modb::URI &uri)
Set the reference to point to an instance of EpAttributeSet with the specified URI.
Definition EpgMappingCtxToAttrSetRSrc.hpp:147
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 EpgMappingCtxToAttrSetRSrc.hpp:503
static void remove(const opflex::modb::URI &uri)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified URI using the currently-active mutato...
Definition EpgMappingCtxToAttrSetRSrc.hpp:405
bool isRoleSet()
Check whether role has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:35
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpgMappingCtxToAttrSetRSrc.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the managed object store using the default fr...
Definition EpgMappingCtxToAttrSetRSrc.hpp:272
EpgMappingCtxToAttrSetRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMappingCtxToAttrSetRSrc.
Definition EpgMappingCtxToAttrSetRSrc.hpp:558
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMappingCtxToAttrSetRSrc.hpp:548
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the managed object store.
Definition EpgMappingCtxToAttrSetRSrc.hpp:254
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpgMappingCtxToAttrSetRSrc.hpp:212
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:111
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 EpgMappingCtxToAttrSetRSrc.hpp:522
static void removeUnderEpdrL3DiscoveredEpdrLocalL3EpGbpeEpgMappingCtx(const std::string &epdrLocalL3EpUuid)
Remove the EpgMappingCtxToAttrSetRSrc object with the specified path elements from the managed object...
Definition EpgMappingCtxToAttrSetRSrc.hpp:486
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition EpgMappingCtxToAttrSetRSrc.hpp:133
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:69
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:374
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & unsetType()
Unset type in the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:237
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMappingCtxToAttrSetRSrc.hpp:534
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolveUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL2EpUuid)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the managed object store by constructing its ...
Definition EpgMappingCtxToAttrSetRSrc.hpp:294
bool isTypeSet()
Check whether type has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:191
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc > > resolveUnderEpdrL2DiscoveredEpdrLocalL2EpGbpeEpgMappingCtx(const std::string &epdrLocalL2EpUuid)
Retrieve an instance of EpgMappingCtxToAttrSetRSrc from the default managed object store by construct...
Definition EpgMappingCtxToAttrSetRSrc.hpp:316
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 EpgMappingCtxToAttrSetRSrc.hpp:123
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpgMappingCtxToAttrSetRSrc.hpp:44
modelgbp::gbpe::EpgMappingCtxToAttrSetRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition EpgMappingCtxToAttrSetRSrc.hpp:181
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12