modelgbp::gbp::EpGroupToConsContractRRes::EpGroupToConsContractRRes |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
const opflex::modb::URI & |
uri, |
|
|
const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > & |
oi |
|
) |
| |
|
inline |
boost::optional<const uint8_t> modelgbp::gbp::EpGroupToConsContractRRes::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().
const uint8_t modelgbp::gbp::EpGroupToConsContractRRes::getRole |
( |
const uint8_t |
defaultValue | ) |
|
|
inline |
Get the value of role if set, otherwise the value of default passed in.
- Parameters
-
defaultValue | default value returned if the property is not set |
- Returns
- the value of role if set, otherwise the value of default passed in
References getRole().
boost::optional<const uint8_t> modelgbp::gbp::EpGroupToConsContractRRes::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().
const uint8_t modelgbp::gbp::EpGroupToConsContractRRes::getType |
( |
const uint8_t |
defaultValue | ) |
|
|
inline |
Get the value of type if set, otherwise the value of default passed in.
- Parameters
-
defaultValue | default value returned if the property is not set |
- Returns
- the value of type if set, otherwise the value of default passed in
References getType().
bool modelgbp::gbp::EpGroupToConsContractRRes::isRoleSet |
( |
| ) |
|
|
inline |
Check whether role has been set.
- Returns
- true if role has been set
Referenced by getRole().
bool modelgbp::gbp::EpGroupToConsContractRRes::isTypeSet |
( |
| ) |
|
|
inline |
Check whether type has been set.
- Returns
- true if type has been set
Referenced by getType().
static void modelgbp::gbp::EpGroupToConsContractRRes::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
-
framework | the framework instance |
listener | the 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().
static void modelgbp::gbp::EpGroupToConsContractRRes::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
-
listener | the 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().
void modelgbp::gbp::EpGroupToConsContractRRes::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_error | if no mutator is active |
References CLASS_ID.
static void modelgbp::gbp::EpGroupToConsContractRRes::remove |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
const opflex::modb::URI & |
uri |
|
) |
| |
|
inlinestatic |
Remove the EpGroupToConsContractRRes 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
-
framework | the framework instance to use |
uri | the URI of the object to remove |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static void modelgbp::gbp::EpGroupToConsContractRRes::remove |
( |
const opflex::modb::URI & |
uri | ) |
|
|
inlinestatic |
Remove the EpGroupToConsContractRRes 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
-
uri | the URI of the object to remove |
- Exceptions
-
std::logic_error | if no mutator is active |
static boost::optional<boost::shared_ptr<modelgbp::gbp::EpGroupToConsContractRRes> > modelgbp::gbp::EpGroupToConsContractRRes::resolve |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
const opflex::modb::URI & |
uri |
|
) |
| |
|
inlinestatic |
Retrieve an instance of EpGroupToConsContractRRes 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
-
framework | the framework instance to use |
uri | the URI of the object to retrieve |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References CLASS_ID.
Retrieve an instance of EpGroupToConsContractRRes 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
-
uri | the URI of the object to retrieve |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References CLASS_ID.
Retrieve an instance of EpGroupToConsContractRRes 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: /RelatorUniverse/GbpEpGroupToConsContractRRes
- Parameters
-
framework | the framework instance to use |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Retrieve an instance of EpGroupToConsContractRRes 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: /RelatorUniverse/GbpEpGroupToConsContractRRes
- Returns
- a shared pointer to the object or boost::none if it does not exist.
Referenced by resolve(), and modelgbp::relator::Universe::resolveGbpEpGroupToConsContractRRes().
Set role to the specified value in the currently-active mutator.
- Parameters
-
newValue | the new value to set. |
- Returns
- a reference to the current object
- Exceptions
-
std::logic_error | if no mutator is active |
- See Also
- opflex::modb::Mutator
Set type to the specified value in the currently-active mutator.
- Parameters
-
newValue | the new value to set. |
- Returns
- a reference to the current object
- Exceptions
-
std::logic_error | if no mutator is active |
- See Also
- opflex::modb::Mutator
static void modelgbp::gbp::EpGroupToConsContractRRes::unregisterListener |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
opflex::modb::ObjectListener * |
listener |
|
) |
| |
|
inlinestatic |
Unregister a listener from updates to this class.
- Parameters
-
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
static void modelgbp::gbp::EpGroupToConsContractRRes::unregisterListener |
( |
opflex::modb::ObjectListener * |
listener | ) |
|
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
- Parameters
-
listener | The listener to unregister. |
References unregisterListener().
Unset role in the currently-active mutator.
- Exceptions
-
std::logic_error | if no mutator is active |
- Returns
- a reference to the current object
- See Also
- opflex::modb::Mutator
Unset type in the currently-active mutator.
- Exceptions
-
std::logic_error | if 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: