11#ifndef GI_INV_LOCALENDPOINTINVENTORY_HPP
12#define GI_INV_LOCALENDPOINTINVENTORY_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/domain/ConfigFromEndpointInventoryRTgt.hpp"
24#include "modelgbp/inv/LocalInventoryEp.hpp"
30 :
public opflex::modb::mointernal::MO
37 static const opflex::modb::class_id_t
CLASS_ID = 114;
52 boost::optional<const std::string&>
getName()
106 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalEndpointInventory> >
resolve(
108 const opflex::modb::URI&
uri)
110 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::LocalEndpointInventory>(
framework,
CLASS_ID,
uri);
124 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalEndpointInventory> >
resolve(
125 const opflex::modb::URI&
uri)
127 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::LocalEndpointInventory>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
146 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalEndpointInventory> >
resolve(
168 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalEndpointInventory> >
resolve(
230 opflex::modb::mointernal::MO::resolveChildren<modelgbp::domain::ConfigFromEndpointInventoryRTgt>(
290 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::LocalInventoryEp>(
318 const opflex::modb::URI&
uri)
335 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
392 opflex::modb::ObjectListener*
listener)
394 opflex::modb::mointernal
410 opflex::modb::ObjectListener*
listener)
423 opflex::modb::ObjectListener*
listener)
425 opflex::modb::mointernal
436 opflex::modb::ObjectListener*
listener)
447 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromEndpointInventoryRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of ConfigFromEndpointInventoryRTgt from the managed object store.
Definition ConfigFromEndpointInventoryRTgt.hpp:210
Definition LocalEndpointInventory.hpp:31
LocalEndpointInventory(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of LocalEndpointInventory.
Definition LocalEndpointInventory.hpp:445
void remove()
Remove this instance using the currently-active mutator.
Definition LocalEndpointInventory.hpp:302
void resolveDomainConfigFromEndpointInventoryRTgt(std::vector< OF_SHARED_PTR< modelgbp::domain::ConfigFromEndpointInventoryRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::domain::ConfigFromEndpointInvent...
Definition LocalEndpointInventory.hpp:228
modelgbp::inv::LocalEndpointInventory & unsetName()
Unset name in the currently-active mutator.
Definition LocalEndpointInventory.hpp:89
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of LocalEndpointInventory from the managed object store using the default framew...
Definition LocalEndpointInventory.hpp:124
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolve(const std::string &invLocalEndpointInventoryName)
Retrieve an instance of LocalEndpointInventory from the default managed object store by constructing ...
Definition LocalEndpointInventory.hpp:168
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition LocalEndpointInventory.hpp:52
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalEndpointInventory from the managed object store.
Definition LocalEndpointInventory.hpp:106
static void remove(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName)
Remove the LocalEndpointInventory object with the specified path elements from the managed object sto...
Definition LocalEndpointInventory.hpp:352
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 LocalEndpointInventory.hpp:409
OF_SHARED_PTR< modelgbp::domain::ConfigFromEndpointInventoryRTgt > addDomainConfigFromEndpointInventoryRTgt(const std::string &domainConfigFromEndpointInventoryRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition LocalEndpointInventory.hpp:203
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolve(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName)
Retrieve an instance of LocalEndpointInventory from the managed object store by constructing its URI ...
Definition LocalEndpointInventory.hpp:146
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition LocalEndpointInventory.hpp:421
modelgbp::inv::LocalEndpointInventory & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition LocalEndpointInventory.hpp:77
boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromEndpointInventoryRTgt > > resolveDomainConfigFromEndpointInventoryRTgt(const std::string &domainConfigFromEndpointInventoryRTgtSource)
Retrieve the child object with the specified naming properties.
Definition LocalEndpointInventory.hpp:185
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the LocalEndpointInventory object with the specified URI using the currently-active mutator.
Definition LocalEndpointInventory.hpp:317
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition LocalEndpointInventory.hpp:64
void resolveInvLocalInventoryEp(std::vector< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::LocalInventoryEp.
Definition LocalEndpointInventory.hpp:288
static void remove(const opflex::modb::URI &uri)
Remove the LocalEndpointInventory object with the specified URI using the currently-active mutator an...
Definition LocalEndpointInventory.hpp:333
bool isNameSet()
Check whether name has been set.
Definition LocalEndpointInventory.hpp:43
boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolveInvLocalInventoryEp(const std::string &invLocalInventoryEpUuid)
Retrieve the child object with the specified naming properties.
Definition LocalEndpointInventory.hpp:245
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition LocalEndpointInventory.hpp:435
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for LocalEndpointInventory.
Definition LocalEndpointInventory.hpp:37
static void remove(const std::string &invLocalEndpointInventoryName)
Remove the LocalEndpointInventory object with the specified path elements from the managed object sto...
Definition LocalEndpointInventory.hpp:373
OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > addInvLocalInventoryEp(const std::string &invLocalInventoryEpUuid)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition LocalEndpointInventory.hpp:263
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 LocalEndpointInventory.hpp:390
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalInventoryEp from the managed object store.
Definition LocalInventoryEp.hpp:410
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12