CosPropertyService_PropertySetFactory
(cosProperty)This module implements the OMG CosPropertyService::PropertySetFactory interface.
To get access to the record definitions for the structures use:
-include_lib("cosProperty/include/CosPropertyService.hrl").
Functions
create_propertyset(Factory) -> PropertySet
Factory = PropertySet = #objref
This operation creates a new PropertySet with no predefined
properties.
create_constrained_propertyset(Factory, PropertyTypes, Properties) -> Reply
Factory = #objrefPropertyTypes = [CORBA::TypeCode]Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]Name = string()Value = #anyReply = {'EXCEPTION', #CosPropertyService_ConstraintNotSupported{}} | PropertySetPropertySet = #objref
This operation creates a new PropertySet with specific constraints.
PropertyTypes states allowed TypeCode's and Properties valid
CosPropertyService::Property data.
create_initial_propertyset(Factory, Properties) -> Reply
Factory = #objrefProperties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]Name = string()Value = #anyReply = {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}} | PropertySetExcs = [#'CosPropertyService_PropertyException{reason = Reason, failing_property_name = Name}]Reason = invalid_property_name | conflicting_property | property_not_found | unsupported_type_code | unsupported_property | unsupported_mode | fixed_property | read_only_propertyPropertySet = #objref
This operation creates a new PropertySet with specific
initial properties.