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