2000 2016 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions 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.