Erlang -- CosPropertyService_PropertySetDefFactory

cosProperty

Reference Manual

Version 1.2.2

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Table of Contents

- cosProperty
  - Top of manual page
  - install/0
  - install_db/0
  - start/0
  - start_SetDefFactory/0
  - start_SetFactory/0
  - stop/0
  - stop_SetDefFactory/1
  - stop_SetFactory/1
  - uninstall/0
  - uninstall_db/0
- CosPropertyService_PropertySetFactory
  - Top of manual page
  - create_constrained_propertyset/3
  - create_initial_propertyset/2
  - create_propertyset/1
- CosPropertyService_PropertySetDefFactory
  - Top of manual page
  - create_constrained_propertysetdef/3
  - create_initial_propertysetdef/2
  - create_propertysetdef/1
- CosPropertyService_PropertySet
  - Top of manual page
  - define_properties/2
  - define_property/3
  - delete_all_properties/1
  - delete_properties/2
  - delete_property/2
  - get_all_properties/2
  - get_all_property_names/2
  - get_number_of_properties/1
  - get_properties/2
  - get_property_value/2
  - is_property_defined/2
- CosPropertyService_PropertySetDef
  - Top of manual page
  - define_properties_with_modes/2
  - define_property_with_mode/4
  - get_allowed_properties/1
  - get_allowed_property_types/1
  - get_property_mode/2
  - get_property_modes/2
  - set_property_mode/3
  - set_property_modes/2
- CosPropertyService_PropertiesIterator
  - Top of manual page
  - destroy/1
  - next_n/2
  - next_one/1
  - reset/1
- CosPropertyService_PropertyNamesIterator
  - Top of manual page
  - destroy/1
  - next_n/2
  - next_one/1
  - reset/1

# CosPropertyService_PropertySetDefFactory

### Module

CosPropertyService_PropertySetDefFactory

### Module Summary

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.