2000 2007 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_­PropertySetDefFactory ..._PropertySetDefFactory Niclas Eklund Niclas Eklund Niclas Eklund 2000-07-25 1.0
CosPropertyService_PropertySetDefFactory This module implements the OMG CosPropertyService::PropertySetDefFactory interface.

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

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

create_propertysetdef(Factory) -> Create a new PropertySetDefwith no predefined settings Factory = PropertySetDef = #objref

This operation creates a new PropertySetDef with no predefined settings.

create_constrained_propertysetdef(Factory, PropertyTypes, PropertyDefs) -> Reply Create a new PropertySetDefwith specified constraints 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 Create a new PropertySetDefwith specified initial properties 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.