11#ifndef GI_DOMAIN_CONFIGTOENDPOINTINVENTORYRRES_HPP
12#define GI_DOMAIN_CONFIGTOENDPOINTINVENTORYRRES_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 = 62;
154 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigToEndpointInventoryRRes> >
resolve(
156 const opflex::modb::URI&
uri)
158 return opflex::modb::mointernal::MO::resolve<modelgbp::domain::ConfigToEndpointInventoryRRes>(
framework,
CLASS_ID,
uri);
172 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigToEndpointInventoryRRes> >
resolve(
173 const opflex::modb::URI&
uri)
175 return opflex::modb::mointernal::MO::resolve<modelgbp::domain::ConfigToEndpointInventoryRRes>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
192 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigToEndpointInventoryRRes> >
resolve(
211 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigToEndpointInventoryRRes> >
resolve(
214 return resolve(opflex::ofcore::OFFramework::defaultInstance());
241 const opflex::modb::URI&
uri)
258 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
274 opflex::modb::ObjectListener*
listener)
276 opflex::modb::mointernal
292 opflex::modb::ObjectListener*
listener)
305 opflex::modb::ObjectListener*
listener)
307 opflex::modb::mointernal
318 opflex::modb::ObjectListener*
listener)
329 const opflex::modb::URI&
uri,
Definition ConfigToEndpointInventoryRRes.hpp:23
void remove()
Remove this instance using the currently-active mutator.
Definition ConfigToEndpointInventoryRRes.hpp:225
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 ConfigToEndpointInventoryRRes.hpp:272
modelgbp::domain::ConfigToEndpointInventoryRRes & unsetRole()
Unset role in the currently-active mutator.
Definition ConfigToEndpointInventoryRRes.hpp:81
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for ConfigToEndpointInventoryRRes.
Definition ConfigToEndpointInventoryRRes.hpp:29
modelgbp::domain::ConfigToEndpointInventoryRRes & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition ConfigToEndpointInventoryRRes.hpp:69
modelgbp::domain::ConfigToEndpointInventoryRRes & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition ConfigToEndpointInventoryRRes.hpp:125
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigToEndpointInventoryRRes > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of ConfigToEndpointInventoryRRes from the managed object store by constructing i...
Definition ConfigToEndpointInventoryRRes.hpp:192
modelgbp::domain::ConfigToEndpointInventoryRRes & unsetType()
Unset type in the currently-active mutator.
Definition ConfigToEndpointInventoryRRes.hpp:137
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition ConfigToEndpointInventoryRRes.hpp:112
ConfigToEndpointInventoryRRes(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of ConfigToEndpointInventoryRRes.
Definition ConfigToEndpointInventoryRRes.hpp:327
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigToEndpointInventoryRRes > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of ConfigToEndpointInventoryRRes from the managed object store.
Definition ConfigToEndpointInventoryRRes.hpp:154
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition ConfigToEndpointInventoryRRes.hpp:100
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the ConfigToEndpointInventoryRRes object with the specified URI using the currently-active mut...
Definition ConfigToEndpointInventoryRRes.hpp:240
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition ConfigToEndpointInventoryRRes.hpp:44
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigToEndpointInventoryRRes > > resolve()
Retrieve an instance of ConfigToEndpointInventoryRRes from the default managed object store by constr...
Definition ConfigToEndpointInventoryRRes.hpp:211
static void remove(const opflex::modb::URI &uri)
Remove the ConfigToEndpointInventoryRRes object with the specified URI using the currently-active mut...
Definition ConfigToEndpointInventoryRRes.hpp:256
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition ConfigToEndpointInventoryRRes.hpp:56
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 ConfigToEndpointInventoryRRes.hpp:291
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigToEndpointInventoryRRes > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of ConfigToEndpointInventoryRRes from the managed object store using the default...
Definition ConfigToEndpointInventoryRRes.hpp:172
bool isTypeSet()
Check whether type has been set.
Definition ConfigToEndpointInventoryRRes.hpp:91
bool isRoleSet()
Check whether role has been set.
Definition ConfigToEndpointInventoryRRes.hpp:35
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition ConfigToEndpointInventoryRRes.hpp:303
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition ConfigToEndpointInventoryRRes.hpp:317
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12