CosPropertyService_PropertySetFactory.3erl man page

CosPropertyService_PropertySetFactory ā€” This module implements the OMG CosPropertyService::PropertySetFactory interface.

Description

To get access to the record definitions for the structures use:
-include_lib("cosProperty/include/CosPropertyService.hrl").

Exports

create_propertyset(Factory) -> PropertySet

Types:

Factory = PropertySet = #objref

This operation creates a new PropertySet with no predefined properties.

create_constrained_propertyset(Factory, PropertyTypes, Properties) -> Reply

Types:

Factory = #objref
PropertyTypes = [CORBA::TypeCode]
Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]
Name = string()
Value = #any
Reply = {'EXCEPTION', #CosPropertyService_ConstraintNotSupported{}} | PropertySet
PropertySet = #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

Types:

Factory = #objref
Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]
Name = string()
Value = #any
Reply = {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}} | PropertySet
Excs = [#'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_property
PropertySet = #objref

This operation creates a new PropertySet with specific initial properties.

Info

cosProperty 4.5.2 Ericsson AB Erlang Module Definition