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