---
name: "CosPropertyService_PropertySetFactory"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosPropertyService_PropertySetFactory"
---

# CosPropertyService\_PropertySetFactory(3erl)

This module implements the OMG CosPropertyService::PropertySetFactory interface.

## NAME

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 *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.
