2000 2011 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosPropertyService_PropertySetFactory 2000-07-25 1.0
CosPropertyService_PropertySetFactory This module implements the OMG CosPropertyService::PropertySetFactory interface.

To get access to the record definitions for the structures use:

-include_lib("cosProperty/include/CosPropertyService.hrl").

create_propertyset(Factory) -> PropertySet Create a new PropertySet with no predefined properties Factory = PropertySet = #objref

This operation creates a new PropertySet with no predefined properties.

create_constrained_propertyset(Factory, PropertyTypes, Properties) -> Reply Create a new PropertySetwith specified constraints 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 Create a new PropertySetwith specified initial properties 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.