CosPropertyService_­PropertySetFactory

# CosPropertyService_PropertySetFactory

### MODULE

CosPropertyService_PropertySetFactory

### MODULE SUMMARY

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 `PropertySe`t 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.

### AUTHORS

Support - support@erlang.ericsson.se

cosProperty 1.1.1
Copyright © 1991-2007 Ericsson AB