modelgbp Generated OpFlex Model  1.7.0
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc Class Reference
Inheritance diagram for modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc:

Public Member Functions

bool isRoleSet ()
 Check whether role has been set. More...
 
boost::optional< const uint8_t > getRole ()
 Get the value of role if it has been set. More...
 
const uint8_t getRole (const uint8_t defaultValue)
 Get the value of role if set, otherwise the value of default passed in. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcsetRole (const uint8_t newValue)
 Set role to the specified value in the currently-active mutator. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcunsetRole ()
 Unset role in the currently-active mutator. More...
 
bool isTargetSet ()
 Check whether target has been set. More...
 
boost::optional< opflex::modb::class_id_t > getTargetClass ()
 Get the value of targetClass if it has been set. More...
 
boost::optional< opflex::modb::URI > getTargetURI ()
 Get the value of targetURI if it has been set. More...
 
opflex::modb::class_id_t getTargetClass (opflex::modb::class_id_t defaultValue)
 Get the value of targetClass if set, otherwise the value of default passed in. More...
 
opflex::modb::URI getTargetURI (opflex::modb::URI defaultValue)
 Get the value of targetURI if set, otherwise the value of default passed in. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcsetTargetSubnets (const opflex::modb::URI &uri)
 Set the reference to point to an instance of Subnets with the specified URI. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcsetTargetSubnets (const std::string &policySpaceName, const std::string &gbpSubnetsName)
 Set the reference to point to an instance of Subnets in the currently-active mutator by constructing its URI from the path elements that lead to it. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcunsetTarget ()
 Unset target in the currently-active mutator. More...
 
bool isTypeSet ()
 Check whether type has been set. More...
 
boost::optional< const uint8_t > getType ()
 Get the value of type if it has been set. More...
 
const uint8_t getType (const uint8_t defaultValue)
 Get the value of type if set, otherwise the value of default passed in. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcsetType (const uint8_t newValue)
 Set type to the specified value in the currently-active mutator. More...
 
modelgbp::gbp::SecGroupRuleToRemoteAddressRSrcunsetType ()
 Unset type in the currently-active mutator. More...
 
void remove ()
 Remove this instance using the currently-active mutator. More...
 
 SecGroupRuleToRemoteAddressRSrc (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of SecGroupRuleToRemoteAddressRSrc. More...
 

Static Public Member Functions

static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolve (const opflex::modb::URI &uri)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store using the default framework instance. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static void remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified URI using the currently-active mutator. More...
 
static void remove (const opflex::modb::URI &uri)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified URI using the currently-active mutator and the default framework instance. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store using the default framework instance. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName)
 Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store using the default framework instance. More...
 
static void registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class. More...
 
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. More...
 
static void unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class. More...
 
static void unregisterListener (opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class from the default framework instance. More...
 

Static Public Attributes

static const opflex::modb::class_id_t CLASS_ID = 206
 The unique class ID for SecGroupRuleToRemoteAddressRSrc.
 

Constructor & Destructor Documentation

◆ SecGroupRuleToRemoteAddressRSrc()

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

Construct an instance of SecGroupRuleToRemoteAddressRSrc.

This should not typically be called from user code.

Member Function Documentation

◆ getRole() [1/2]

boost::optional<const uint8_t> modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getRole ( )
inline

Get the value of role if it has been set.

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

References isRoleSet().

Referenced by getRole().

◆ getRole() [2/2]

const uint8_t modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getRole ( const uint8_t  defaultValue)
inline

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

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

References getRole().

◆ getTargetClass() [1/2]

boost::optional<opflex::modb::class_id_t> modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getTargetClass ( )
inline

Get the value of targetClass if it has been set.

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

References isTargetSet().

Referenced by getTargetClass().

◆ getTargetClass() [2/2]

opflex::modb::class_id_t modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getTargetClass ( opflex::modb::class_id_t  defaultValue)
inline

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

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

References getTargetClass().

◆ getTargetURI() [1/2]

boost::optional<opflex::modb::URI> modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getTargetURI ( )
inline

Get the value of targetURI if it has been set.

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

References isTargetSet().

Referenced by getTargetURI().

◆ getTargetURI() [2/2]

opflex::modb::URI modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getTargetURI ( opflex::modb::URI  defaultValue)
inline

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

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

References getTargetURI().

◆ getType() [1/2]

boost::optional<const uint8_t> modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getType ( )
inline

Get the value of type if it has been set.

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

References isTypeSet().

Referenced by getType().

◆ getType() [2/2]

const uint8_t modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::getType ( const uint8_t  defaultValue)
inline

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

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

References getType().

◆ isRoleSet()

bool modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::isRoleSet ( )
inline

Check whether role has been set.

Returns
true if role has been set

Referenced by getRole().

◆ isTargetSet()

bool modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::isTargetSet ( )
inline

Check whether target has been set.

Returns
true if target has been set

Referenced by getTargetClass(), and getTargetURI().

◆ isTypeSet()

bool modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::isTypeSet ( )
inline

Check whether type has been set.

Returns
true if type has been set

Referenced by getType().

◆ registerListener() [1/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::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().

◆ registerListener() [2/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::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().

◆ remove() [1/3]

void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::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.

◆ remove() [2/3]

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

Remove the SecGroupRuleToRemoteAddressRSrc 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.

◆ remove() [3/3]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::remove ( const opflex::modb::URI &  uri)
inlinestatic

Remove the SecGroupRuleToRemoteAddressRSrc 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

◆ removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule() [1/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpContractName,
const std::string &  gbpSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Remove the SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpContractNamethe value of gbpContractName, a naming property for Contract
gbpSubjectNamethe value of gbpSubjectName, a naming property for Subject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().

◆ removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule() [2/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule ( const std::string &  policySpaceName,
const std::string &  gbpContractName,
const std::string &  gbpSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Remove the SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpContractNamethe value of gbpContractName, a naming property for Contract
gbpSubjectNamethe value of gbpSubjectName, a naming property for Subject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().

◆ removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule() [1/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpSecGroupName,
const std::string &  gbpSecGroupSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Remove the SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpSecGroupNamethe value of gbpSecGroupName, a naming property for SecGroup
gbpSecGroupSubjectNamethe value of gbpSecGroupSubjectName, a naming property for SecGroupSubject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().

◆ removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule() [2/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule ( const std::string &  policySpaceName,
const std::string &  gbpSecGroupName,
const std::string &  gbpSecGroupSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Remove the SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpSecGroupNamethe value of gbpSecGroupName, a naming property for SecGroup
gbpSecGroupSubjectNamethe value of gbpSecGroupSubjectName, a naming property for SecGroupSubject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().

◆ resolve() [1/2]

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

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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::gbp::SecGroupRule::resolveGbpSecGroupRuleToRemoteAddressRSrc(), resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), and resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().

◆ resolve() [2/2]

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

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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.

◆ resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule() [1/2]

static boost::optional<OF_SHARED_PTR<modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc> > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpContractName,
const std::string &  gbpSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpContractNamethe value of gbpContractName, a naming property for Contract
gbpSubjectNamethe value of gbpSubjectName, a naming property for Subject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().

◆ resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule() [2/2]

static boost::optional<OF_SHARED_PTR<modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc> > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule ( const std::string &  policySpaceName,
const std::string &  gbpContractName,
const std::string &  gbpSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpContractNamethe value of gbpContractName, a naming property for Contract
gbpSubjectNamethe value of gbpSubjectName, a naming property for Subject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().

◆ resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule() [1/2]

static boost::optional<OF_SHARED_PTR<modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc> > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpSecGroupName,
const std::string &  gbpSecGroupSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpSecGroupNamethe value of gbpSecGroupName, a naming property for SecGroup
gbpSecGroupSubjectNamethe value of gbpSecGroupSubjectName, a naming property for SecGroupSubject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().

◆ resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule() [2/2]

static boost::optional<OF_SHARED_PTR<modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc> > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule ( const std::string &  policySpaceName,
const std::string &  gbpSecGroupName,
const std::string &  gbpSecGroupSubjectName,
const std::string &  gbpSecGroupRuleName,
uint16_t  gbpSecGroupRuleToRemoteAddressRSrcTargetClass,
const std::string &  gbpSecGroupRuleToRemoteAddressRSrcTargetName 
)
inlinestatic

Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpSecGroupNamethe value of gbpSecGroupName, a naming property for SecGroup
gbpSecGroupSubjectNamethe value of gbpSecGroupSubjectName, a naming property for SecGroupSubject
gbpSecGroupRuleNamethe value of gbpSecGroupRuleName, a naming property for SecGroupRule
gbpSecGroupRuleToRemoteAddressRSrcTargetClassthe value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc
gbpSecGroupRuleToRemoteAddressRSrcTargetNamethe value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().

◆ setRole()

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::setRole ( const uint8_t  newValue)
inline

Set role 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

◆ setTargetSubnets() [1/2]

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::setTargetSubnets ( const opflex::modb::URI &  uri)
inline

Set the reference to point to an instance of Subnets with the specified URI.

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

◆ setTargetSubnets() [2/2]

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::setTargetSubnets ( const std::string &  policySpaceName,
const std::string &  gbpSubnetsName 
)
inline

Set the reference to point to an instance of Subnets in the currently-active mutator by constructing its URI from the path elements that lead to it.

The reference URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSubnets/[gbpSubnetsName]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpSubnetsNamethe value of gbpSubnetsName, a naming property for Subnets
Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ setType()

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::setType ( const uint8_t  newValue)
inline

Set type 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::gbp::SecGroupRuleToRemoteAddressRSrc::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().

◆ unregisterListener() [2/2]

static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::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().

◆ unsetRole()

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::unsetRole ( )
inline

Unset role 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

◆ unsetTarget()

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::unsetTarget ( )
inline

Unset target 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

◆ unsetType()

modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc& modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::unsetType ( )
inline

Unset type 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: