11#ifndef GI_GBP_L3EXTERNALNETWORKFROMPROVCONTRACTRTGT_HPP
12#define GI_GBP_L3EXTERNALNETWORKFROMPROVCONTRACTRTGT_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 = 171;
139 getTLMutator().modify(
getClassId(),
getURI())->unset(5603331ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
210 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
254 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt> >
resolve(
282 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt> >
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 L3ExternalNetworkFromProvContractRTgt.hpp:23
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & unsetType()
Unset type in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:193
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:100
bool isSourceSet()
Check whether source has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:91
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:44
void remove()
Remove this instance using the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:298
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:443
static void remove(const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpL3ExternalNetworkFromProvContractRTgtSource)
Remove the L3ExternalNetworkFromProvContractRTgt object with the specified path elements from the man...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:379
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt > > resolve(const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpL3ExternalNetworkFromProvContractRTgtSource)
Retrieve an instance of L3ExternalNetworkFromProvContractRTgt from the default managed object store b...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:282
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 L3ExternalNetworkFromProvContractRTgt.hpp:398
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the L3ExternalNetworkFromProvContractRTgt object with the specified URI using the currently-ac...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:313
bool isRoleSet()
Check whether role has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:35
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:69
static void remove(const opflex::modb::URI &uri)
Remove the L3ExternalNetworkFromProvContractRTgt object with the specified URI using the currently-ac...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:329
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 L3ExternalNetworkFromProvContractRTgt.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 L3ExternalNetworkFromProvContractRTgt.hpp:112
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:168
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of L3ExternalNetworkFromProvContractRTgt from the managed object store.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:210
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of L3ExternalNetworkFromProvContractRTgt from the managed object store using the...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:228
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:156
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:56
bool isTypeSet()
Check whether type has been set.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:147
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:137
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpL3ExternalNetworkFromProvContractRTgtSource)
Retrieve an instance of L3ExternalNetworkFromProvContractRTgt from the managed object store by constr...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:254
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:125
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:429
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:81
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for L3ExternalNetworkFromProvContractRTgt.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:29
static void remove(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpL3ExternalNetworkFromProvContractRTgtSource)
Remove the L3ExternalNetworkFromProvContractRTgt object with the specified path elements from the man...
Definition L3ExternalNetworkFromProvContractRTgt.hpp:352
modelgbp::gbp::L3ExternalNetworkFromProvContractRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:181
L3ExternalNetworkFromProvContractRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of L3ExternalNetworkFromProvContractRTgt.
Definition L3ExternalNetworkFromProvContractRTgt.hpp:453
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12