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_PropertySetDefFactory 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.