1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
26
<title>CosPropertyService_­PropertySetFactory</title>
27
<shorttitle>..._PropertySetFactory</shorttitle>
28
<prepared>Niclas Eklund</prepared>
29
<responsible>Niclas Eklund</responsible>
31
<approved>Niclas Eklund</approved>
33
<date>2000-07-25</date>
36
<module>CosPropertyService_PropertySetFactory</module>
37
<modulesummary>This module implements the OMG CosPropertyService::PropertySetFactory interface.</modulesummary>
39
<p>To get access to the record definitions for the structures use: <br></br>
40
<c>-include_lib("cosProperty/include/CosPropertyService.hrl").</c></p>
44
<name>create_propertyset(Factory) -> PropertySet</name>
45
<fsummary>Create a new <c>PropertySe</c>t with no predefined properties</fsummary>
47
<v>Factory = PropertySet = #objref</v>
50
<p>This operation creates a new <c>PropertySe</c>t with no predefined
55
<name>create_constrained_propertyset(Factory, PropertyTypes, Properties) -> Reply</name>
56
<fsummary>Create a new <c>PropertySet</c>with specified constraints</fsummary>
58
<v>Factory = #objref</v>
59
<v>PropertyTypes = [CORBA::TypeCode]</v>
60
<v>Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]</v>
61
<v>Name = string()</v>
63
<v>Reply = {'EXCEPTION', #CosPropertyService_ConstraintNotSupported{}} | PropertySet</v>
64
<v>PropertySet = #objref</v>
67
<p>This operation creates a new <c>PropertySet</c> with specific constraints.
68
PropertyTypes states allowed TypeCode's and Properties valid
69
<c>CosPropertyService::Property</c> data.</p>
73
<name>create_initial_propertyset(Factory, Properties) -> Reply</name>
74
<fsummary>Create a new <c>PropertySet</c>with specified initial properties</fsummary>
76
<v>Factory = #objref</v>
77
<v>Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}]</v>
78
<v>Name = string()</v>
80
<v>Reply = {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}} | PropertySet</v>
81
<v>Excs = [#'CosPropertyService_PropertyException{reason = Reason, failing_property_name = Name}]</v>
82
<v>Reason = invalid_property_name | conflicting_property | property_not_found | unsupported_type_code | unsupported_property | unsupported_mode | fixed_property | read_only_property</v>
83
<v>PropertySet = #objref</v>
86
<p>This operation creates a new <c>PropertySet</c> with specific
87
initial properties.</p>