modelgbp Generated OpFlex Model 1.7.0
modelgbp::gbpe::AttributeMappingRule Class Reference
Inheritance diagram for modelgbp::gbpe::AttributeMappingRule:

Public Member Functions

bool isAttributeNameSet ()
 Check whether attributeName has been set.
 
boost::optional< const std::string & > getAttributeName ()
 Get the value of attributeName if it has been set.
 
const std::string & getAttributeName (const std::string &defaultValue)
 Get the value of attributeName if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetAttributeName (const std::string &newValue)
 Set attributeName to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetAttributeName ()
 Unset attributeName in the currently-active mutator.
 
bool isMatchStringSet ()
 Check whether matchString has been set.
 
boost::optional< const std::string & > getMatchString ()
 Get the value of matchString if it has been set.
 
const std::string & getMatchString (const std::string &defaultValue)
 Get the value of matchString if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetMatchString (const std::string &newValue)
 Set matchString to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetMatchString ()
 Unset matchString in the currently-active mutator.
 
bool isMatchTypeSet ()
 Check whether matchType has been set.
 
boost::optional< const uint8_t > getMatchType ()
 Get the value of matchType if it has been set.
 
const uint8_t getMatchType (const uint8_t defaultValue)
 Get the value of matchType if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetMatchType (const uint8_t newValue)
 Set matchType to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetMatchType ()
 Unset matchType in the currently-active mutator.
 
bool isNameSet ()
 Check whether name has been set.
 
boost::optional< const std::string & > getName ()
 Get the value of name if it has been set.
 
const std::string & getName (const std::string &defaultValue)
 Get the value of name if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetName (const std::string &newValue)
 Set name to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetName ()
 Unset name in the currently-active mutator.
 
bool isNegatedSet ()
 Check whether negated has been set.
 
boost::optional< const uint8_t > getNegated ()
 Get the value of negated if it has been set.
 
const uint8_t getNegated (const uint8_t defaultValue)
 Get the value of negated if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetNegated (const uint8_t newValue)
 Set negated to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetNegated ()
 Unset negated in the currently-active mutator.
 
bool isOrderSet ()
 Check whether order has been set.
 
boost::optional< uint32_t > getOrder ()
 Get the value of order if it has been set.
 
uint32_t getOrder (uint32_t defaultValue)
 Get the value of order if set, otherwise the value of default passed in.
 
modelgbp::gbpe::AttributeMappingRulesetOrder (uint32_t newValue)
 Set order to the specified value in the currently-active mutator.
 
modelgbp::gbpe::AttributeMappingRuleunsetOrder ()
 Unset order in the currently-active mutator.
 
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRSrc > > resolveGbpeMappingRuleToGroupRSrc ()
 Retrieve the child object with the specified naming properties.
 
OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRSrcaddGbpeMappingRuleToGroupRSrc ()
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
 
void remove ()
 Remove this instance using the currently-active mutator.
 
 AttributeMappingRule (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of AttributeMappingRule.
 

Static Public Member Functions

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of AttributeMappingRule from the managed object store.
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolve (const opflex::modb::URI &uri)
 Retrieve an instance of AttributeMappingRule from the managed object store using the default framework instance.
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolveUnderPolicyUniverseGbpeEpgMapping (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName, const std::string &gbpeAttributeMappingRuleName)
 Retrieve an instance of AttributeMappingRule from the managed object store by constructing its URI from the path elements that lead to it.
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolveUnderPolicyUniverseGbpeEpgMapping (const std::string &gbpeEpgMappingName, const std::string &gbpeAttributeMappingRuleName)
 Retrieve an instance of AttributeMappingRule from the default managed object store by constructing its URI from the path elements that lead to it.
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolveUnderPolicyUniverseGbpeMappingRuleSet (opflex::ofcore::OFFramework &framework, const std::string &gbpeMappingRuleSetName, const std::string &gbpeAttributeMappingRuleName)
 Retrieve an instance of AttributeMappingRule from the managed object store by constructing its URI from the path elements that lead to it.
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolveUnderPolicyUniverseGbpeMappingRuleSet (const std::string &gbpeMappingRuleSetName, const std::string &gbpeAttributeMappingRuleName)
 Retrieve an instance of AttributeMappingRule from the default managed object store by constructing its URI from the path elements that lead to it.
 
static void remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Remove the AttributeMappingRule object with the specified URI using the currently-active mutator.
 
static void remove (const opflex::modb::URI &uri)
 Remove the AttributeMappingRule object with the specified URI using the currently-active mutator and the default framework instance.
 
static void removeUnderPolicyUniverseGbpeEpgMapping (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName, const std::string &gbpeAttributeMappingRuleName)
 Remove the AttributeMappingRule object with the specified path elements from the managed object store.
 
static void removeUnderPolicyUniverseGbpeEpgMapping (const std::string &gbpeEpgMappingName, const std::string &gbpeAttributeMappingRuleName)
 Remove the AttributeMappingRule object with the specified path elements from the managed object store using the default framework instance.
 
static void removeUnderPolicyUniverseGbpeMappingRuleSet (opflex::ofcore::OFFramework &framework, const std::string &gbpeMappingRuleSetName, const std::string &gbpeAttributeMappingRuleName)
 Remove the AttributeMappingRule object with the specified path elements from the managed object store.
 
static void removeUnderPolicyUniverseGbpeMappingRuleSet (const std::string &gbpeMappingRuleSetName, const std::string &gbpeAttributeMappingRuleName)
 Remove the AttributeMappingRule object with the specified path elements from the managed object store using the default framework instance.
 
static void registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class.
 
static void registerListener (opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class with the default framework instance.
 
static void unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class.
 
static void unregisterListener (opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class from the default framework instance.
 

Static Public Attributes

static const opflex::modb::class_id_t CLASS_ID = 33
 The unique class ID for AttributeMappingRule.
 

Constructor & Destructor Documentation

◆ AttributeMappingRule()

modelgbp::gbpe::AttributeMappingRule::AttributeMappingRule ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri,
const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > & oi )
inline

Construct an instance of AttributeMappingRule.

This should not typically be called from user code.

References CLASS_ID.

Member Function Documentation

◆ addGbpeMappingRuleToGroupRSrc()

OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRSrc > modelgbp::gbpe::AttributeMappingRule::addGbpeMappingRuleToGroupRSrc ( )
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ getAttributeName() [1/2]

boost::optional< const std::string & > modelgbp::gbpe::AttributeMappingRule::getAttributeName ( )
inline

Get the value of attributeName if it has been set.

Returns
the value of attributeName or boost::none if not set

References isAttributeNameSet().

Referenced by getAttributeName().

◆ getAttributeName() [2/2]

const std::string & modelgbp::gbpe::AttributeMappingRule::getAttributeName ( const std::string & defaultValue)
inline

Get the value of attributeName if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of attributeName if set, otherwise the value of default passed in

References getAttributeName().

◆ getMatchString() [1/2]

boost::optional< const std::string & > modelgbp::gbpe::AttributeMappingRule::getMatchString ( )
inline

Get the value of matchString if it has been set.

Returns
the value of matchString or boost::none if not set

References isMatchStringSet().

Referenced by getMatchString().

◆ getMatchString() [2/2]

const std::string & modelgbp::gbpe::AttributeMappingRule::getMatchString ( const std::string & defaultValue)
inline

Get the value of matchString if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of matchString if set, otherwise the value of default passed in

References getMatchString().

◆ getMatchType() [1/2]

boost::optional< const uint8_t > modelgbp::gbpe::AttributeMappingRule::getMatchType ( )
inline

Get the value of matchType if it has been set.

Returns
the value of matchType or boost::none if not set

References isMatchTypeSet().

Referenced by getMatchType().

◆ getMatchType() [2/2]

const uint8_t modelgbp::gbpe::AttributeMappingRule::getMatchType ( const uint8_t defaultValue)
inline

Get the value of matchType if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of matchType if set, otherwise the value of default passed in

References getMatchType().

◆ getName() [1/2]

boost::optional< const std::string & > modelgbp::gbpe::AttributeMappingRule::getName ( )
inline

Get the value of name if it has been set.

Returns
the value of name or boost::none if not set

References isNameSet().

Referenced by getName().

◆ getName() [2/2]

const std::string & modelgbp::gbpe::AttributeMappingRule::getName ( const std::string & defaultValue)
inline

Get the value of name if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of name if set, otherwise the value of default passed in

References getName().

◆ getNegated() [1/2]

boost::optional< const uint8_t > modelgbp::gbpe::AttributeMappingRule::getNegated ( )
inline

Get the value of negated if it has been set.

Returns
the value of negated or boost::none if not set

References isNegatedSet().

Referenced by getNegated().

◆ getNegated() [2/2]

const uint8_t modelgbp::gbpe::AttributeMappingRule::getNegated ( const uint8_t defaultValue)
inline

Get the value of negated if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of negated if set, otherwise the value of default passed in

References getNegated().

◆ getOrder() [1/2]

boost::optional< uint32_t > modelgbp::gbpe::AttributeMappingRule::getOrder ( )
inline

Get the value of order if it has been set.

Returns
the value of order or boost::none if not set

References isOrderSet().

Referenced by getOrder().

◆ getOrder() [2/2]

uint32_t modelgbp::gbpe::AttributeMappingRule::getOrder ( uint32_t defaultValue)
inline

Get the value of order if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of order if set, otherwise the value of default passed in

References getOrder().

◆ isAttributeNameSet()

bool modelgbp::gbpe::AttributeMappingRule::isAttributeNameSet ( )
inline

Check whether attributeName has been set.

Returns
true if attributeName has been set

Referenced by getAttributeName().

◆ isMatchStringSet()

bool modelgbp::gbpe::AttributeMappingRule::isMatchStringSet ( )
inline

Check whether matchString has been set.

Returns
true if matchString has been set

Referenced by getMatchString().

◆ isMatchTypeSet()

bool modelgbp::gbpe::AttributeMappingRule::isMatchTypeSet ( )
inline

Check whether matchType has been set.

Returns
true if matchType has been set

Referenced by getMatchType().

◆ isNameSet()

bool modelgbp::gbpe::AttributeMappingRule::isNameSet ( )
inline

Check whether name has been set.

Returns
true if name has been set

Referenced by getName().

◆ isNegatedSet()

bool modelgbp::gbpe::AttributeMappingRule::isNegatedSet ( )
inline

Check whether negated has been set.

Returns
true if negated has been set

Referenced by getNegated().

◆ isOrderSet()

bool modelgbp::gbpe::AttributeMappingRule::isOrderSet ( )
inline

Check whether order has been set.

Returns
true if order has been set

Referenced by getOrder().

◆ registerListener() [1/2]

static void modelgbp::gbpe::AttributeMappingRule::registerListener ( opflex::modb::ObjectListener * listener)
inlinestatic

Register a listener that will get called for changes related to this class with the default framework instance.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References registerListener().

◆ registerListener() [2/2]

static void modelgbp::gbpe::AttributeMappingRule::registerListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
inlinestatic

Register a listener that will get called for changes related to this class.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
frameworkthe framework instance
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References CLASS_ID.

Referenced by registerListener().

◆ remove() [1/3]

void modelgbp::gbpe::AttributeMappingRule::remove ( )
inline

Remove this instance using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by remove().

◆ remove() [2/3]

static void modelgbp::gbpe::AttributeMappingRule::remove ( const opflex::modb::URI & uri)
inlinestatic

Remove the AttributeMappingRule object with the specified URI using the currently-active mutator and the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References remove().

◆ remove() [3/3]

static void modelgbp::gbpe::AttributeMappingRule::remove ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
inlinestatic

Remove the AttributeMappingRule object with the specified URI using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ removeUnderPolicyUniverseGbpeEpgMapping() [1/2]

static void modelgbp::gbpe::AttributeMappingRule::removeUnderPolicyUniverseGbpeEpgMapping ( const std::string & gbpeEpgMappingName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Remove the AttributeMappingRule object with the specified path elements from the managed object store using the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeEpgMapping/[gbpeEpgMappingName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
gbpeEpgMappingNamethe value of gbpeEpgMappingName, a naming property for EpgMapping
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniverseGbpeEpgMapping().

◆ removeUnderPolicyUniverseGbpeEpgMapping() [2/2]

static void modelgbp::gbpe::AttributeMappingRule::removeUnderPolicyUniverseGbpeEpgMapping ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeEpgMappingName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Remove the AttributeMappingRule object with the specified path elements from the managed object store.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeEpgMapping/[gbpeEpgMappingName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
frameworkthe framework instance to use
gbpeEpgMappingNamethe value of gbpeEpgMappingName, a naming property for EpgMapping
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniverseGbpeEpgMapping().

◆ removeUnderPolicyUniverseGbpeMappingRuleSet() [1/2]

static void modelgbp::gbpe::AttributeMappingRule::removeUnderPolicyUniverseGbpeMappingRuleSet ( const std::string & gbpeMappingRuleSetName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Remove the AttributeMappingRule object with the specified path elements from the managed object store using the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeMappingRuleSet/[gbpeMappingRuleSetName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
gbpeMappingRuleSetNamethe value of gbpeMappingRuleSetName, a naming property for MappingRuleSet
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniverseGbpeMappingRuleSet().

◆ removeUnderPolicyUniverseGbpeMappingRuleSet() [2/2]

static void modelgbp::gbpe::AttributeMappingRule::removeUnderPolicyUniverseGbpeMappingRuleSet ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeMappingRuleSetName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Remove the AttributeMappingRule object with the specified path elements from the managed object store.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeMappingRuleSet/[gbpeMappingRuleSetName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
frameworkthe framework instance to use
gbpeMappingRuleSetNamethe value of gbpeMappingRuleSetName, a naming property for MappingRuleSet
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniverseGbpeMappingRuleSet().

◆ resolve() [1/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolve ( const opflex::modb::URI & uri)
inlinestatic

Retrieve an instance of AttributeMappingRule from the managed object store using the default framework instance.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolve() [2/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolve ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
inlinestatic

Retrieve an instance of AttributeMappingRule from the managed object store.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

Referenced by modelgbp::gbpe::EpgMapping::resolveGbpeAttributeMappingRule(), modelgbp::gbpe::MappingRuleSet::resolveGbpeAttributeMappingRule(), resolveUnderPolicyUniverseGbpeEpgMapping(), and resolveUnderPolicyUniverseGbpeMappingRuleSet().

◆ resolveGbpeMappingRuleToGroupRSrc()

boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRSrc > > modelgbp::gbpe::AttributeMappingRule::resolveGbpeMappingRuleToGroupRSrc ( )
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::MappingRuleToGroupRSrc::resolve().

◆ resolveUnderPolicyUniverseGbpeEpgMapping() [1/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolveUnderPolicyUniverseGbpeEpgMapping ( const std::string & gbpeEpgMappingName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Retrieve an instance of AttributeMappingRule from the default managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeEpgMapping/[gbpeEpgMappingName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
gbpeEpgMappingNamethe value of gbpeEpgMappingName, a naming property for EpgMapping
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniverseGbpeEpgMapping().

◆ resolveUnderPolicyUniverseGbpeEpgMapping() [2/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolveUnderPolicyUniverseGbpeEpgMapping ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeEpgMappingName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Retrieve an instance of AttributeMappingRule from the managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeEpgMapping/[gbpeEpgMappingName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
frameworkthe framework instance to use
gbpeEpgMappingNamethe value of gbpeEpgMappingName, a naming property for EpgMapping
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniverseGbpeEpgMapping().

◆ resolveUnderPolicyUniverseGbpeMappingRuleSet() [1/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolveUnderPolicyUniverseGbpeMappingRuleSet ( const std::string & gbpeMappingRuleSetName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Retrieve an instance of AttributeMappingRule from the default managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeMappingRuleSet/[gbpeMappingRuleSetName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
gbpeMappingRuleSetNamethe value of gbpeMappingRuleSetName, a naming property for MappingRuleSet
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniverseGbpeMappingRuleSet().

◆ resolveUnderPolicyUniverseGbpeMappingRuleSet() [2/2]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > modelgbp::gbpe::AttributeMappingRule::resolveUnderPolicyUniverseGbpeMappingRuleSet ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeMappingRuleSetName,
const std::string & gbpeAttributeMappingRuleName )
inlinestatic

Retrieve an instance of AttributeMappingRule from the managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /PolicyUniverse/GbpeMappingRuleSet/[gbpeMappingRuleSetName]/GbpeAttributeMappingRule/[gbpeAttributeMappingRuleName]

Parameters
frameworkthe framework instance to use
gbpeMappingRuleSetNamethe value of gbpeMappingRuleSetName, a naming property for MappingRuleSet
gbpeAttributeMappingRuleNamethe value of gbpeAttributeMappingRuleName, a naming property for AttributeMappingRule
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniverseGbpeMappingRuleSet().

◆ setAttributeName()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setAttributeName ( const std::string & newValue)
inline

Set attributeName to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setMatchString()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setMatchString ( const std::string & newValue)
inline

Set matchString to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setMatchType()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setMatchType ( const uint8_t newValue)
inline

Set matchType to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setName()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setName ( const std::string & newValue)
inline

Set name to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setNegated()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setNegated ( const uint8_t newValue)
inline

Set negated to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setOrder()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::setOrder ( uint32_t newValue)
inline

Set order to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ unregisterListener() [1/2]

static void modelgbp::gbpe::AttributeMappingRule::unregisterListener ( opflex::modb::ObjectListener * listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

◆ unregisterListener() [2/2]

static void modelgbp::gbpe::AttributeMappingRule::unregisterListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().

◆ unsetAttributeName()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetAttributeName ( )
inline

Unset attributeName in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetMatchString()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetMatchString ( )
inline

Unset matchString in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetMatchType()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetMatchType ( )
inline

Unset matchType in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetName()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetName ( )
inline

Unset name in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetNegated()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetNegated ( )
inline

Unset negated in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetOrder()

modelgbp::gbpe::AttributeMappingRule & modelgbp::gbpe::AttributeMappingRule::unsetOrder ( )
inline

Unset order in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

The documentation for this class was generated from the following file: