---
name: "CosPropertyService_PropertySetDefFactory"
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_PropertySetDefFactory"
---

# CosPropertyService\_PropertySetDefFactory(3erl)

This module implements the OMG CosPropertyService::PropertySetDefFactory interface.

## NAME

CosPropertyService\_PropertySetDefFactory - This module implements the OMG CosPropertyService::PropertySetDefFactory interface.

## DESCRIPTION

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

## EXPORTS

**create\_propertysetdef(Factory) -\>** \

Types:

Factory = PropertySetDef = #objref\

This operation creates a new *PropertySetDef* with no predefined settings.

**create\_constrained\_propertysetdef(Factory, PropertyTypes, PropertyDefs) -\> Reply**\

Types:

Factory = PropertySetDef = #objref\
 PropertyTypes = \[CORBA::TypeCode\]\
 PropertyDefs = \[#'CosPropertyService\_PropertyDef'{property\_name = Name, property\_value = Value, property\_mode = Mode}\]\
 Name = string()\
 Value = #any\
 Mode = normal \| read\_only \| fixed\_normal \| fixed\_readonly \| undefined\
 Reply = {'EXCEPTION', #CosPropertyService\_ConstraintNotSupported{}} \| PropertySetDef\
 PropertySetDef = #objref\

This operation creates a new *PropertySetDef* with specific constraints. PropertyTypes states allowed TypeCode's and PropertyDefs valid *CosPropertyService::PropertyDef* data.

**create\_initial\_propertysetdef(Factory, PropertyDefs) -\> Reply**\

Types:

Factory = PropertySetDef = #objref\
 PropertyDefs = \[#'CosPropertyService\_PropertyDef'{property\_name = Name, property\_value = Value, property\_mode = Mode}\]\
 Name = string()\
 Value = #any\
 Mode = normal \| read\_only \| fixed\_normal \| fixed\_readonly \| undefined\
 Reply = {'EXCEPTION', #CosPropertyService\_MultipleExceptions{exceptions = Excs}} \| PropertySetDef\
 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\
 PropertySetDef = #objref\

This operation creates a new *PropertySetDef* with specific initial properties.
