~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/cosProperty/doc/src/CosPropertyService_PropertySetDef.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090215164252-dxpjjuq108nz4noa
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="latin1" ?>
 
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
 
3
 
 
4
<erlref>
 
5
  <header>
 
6
    <copyright>
 
7
      <year>2000</year>
 
8
      <year>2008</year>
 
9
      <holder>Ericsson AB, All Rights Reserved</holder>
 
10
    </copyright>
 
11
    <legalnotice>
 
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/.
 
17
 
 
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
 
21
  under the License.
 
22
 
 
23
  The Initial Developer of the Original Code is Ericsson AB.
 
24
    </legalnotice>
 
25
 
 
26
    <title>CosPropertyService_&shy;PropertySetDef</title>
 
27
    <shorttitle>..._PropertySetDef</shorttitle>
 
28
    <prepared></prepared>
 
29
    <docno></docno>
 
30
    <checked></checked>
 
31
    <date>2000-07-25</date>
 
32
    <rev>1.0</rev>
 
33
  </header>
 
34
  <module>CosPropertyService_PropertySetDef</module>
 
35
  <modulesummary>This module implements the OMG CosPropertyService::PropertySetDef interface.</modulesummary>
 
36
  <description>
 
37
    <p>To get access to the record definitions for the structures use:      <br></br>
 
38
<c>-include_lib("cosProperty/include/CosPropertyService.hrl").</c></p>
 
39
    <p>This module also exports the functions described in</p>
 
40
    <p><seealso marker="CosPropertyService_PropertySet">CosPropertyService_PropertySet</seealso></p>
 
41
  </description>
 
42
  <funcs>
 
43
    <func>
 
44
      <name>get_allowed_property_types(PropertySetDef) -> Reply</name>
 
45
      <fsummary>Return allowed TypeCodes for the target object</fsummary>
 
46
      <type>
 
47
        <v>PropertySetDef = #objref</v>
 
48
        <v>Reply = {ok, PropertyTypes}</v>
 
49
        <v>PropertyTypes = [CORBA::TypeCode]</v>
 
50
      </type>
 
51
      <desc>
 
52
        <p>This operation return the TypeCodes which we are allowed to use when adding
 
53
          new properties.</p>
 
54
      </desc>
 
55
    </func>
 
56
    <func>
 
57
      <name>get_allowed_properties(PropertySetDef) -> Reply</name>
 
58
      <fsummary>Return a sequence of the allowed properties</fsummary>
 
59
      <type>
 
60
        <v>PropertySetDef = #objref</v>
 
61
        <v>Reply = {ok, PropertyDefs}</v>
 
62
        <v>PropertyDefs = [#'CosPropertyService_PropertyDef'{property_name = Name, property_value = Value, property_mode = Mode}]</v>
 
63
        <v>Name = string()</v>
 
64
        <v>Value = #any</v>
 
65
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
66
      </type>
 
67
      <desc>
 
68
        <p>This operation a sequence of the allowed properties we may alter; depends on
 
69
          which mode associated with a certain property.</p>
 
70
      </desc>
 
71
    </func>
 
72
    <func>
 
73
      <name>define_property_with_mode(PropertySetDef, Name, Value, Mode) -> Reply</name>
 
74
      <fsummary>Associate a new property with the target object</fsummary>
 
75
      <type>
 
76
        <v>PropertySetDef = #objref</v>
 
77
        <v>Name = non-empty string()</v>
 
78
        <v>Value = #any</v>
 
79
        <v>Mode =  normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
80
        <v>Reply = ok | {'EXCEPTION', #CosPropertyService_InvalidPropertyName{}} | {'EXCEPTION', #CosPropertyService_ConflictingProperty{}} | {'EXCEPTION', #CosPropertyService_UnsupportedTypeCode{}} | {'EXCEPTION', #CosPropertyService_UnsupportedProperty{}} | {'EXCEPTION', #CosPropertyService_UnsupportedMode{}} | {'EXCEPTION', #CosPropertyService_ReadOnlyProperty{}}</v>
 
81
      </type>
 
82
      <desc>
 
83
        <p>This operation attempts to associate a new property with the target object.
 
84
          If we fail to do so the appropriate exception is raised.</p>
 
85
      </desc>
 
86
    </func>
 
87
    <func>
 
88
      <name>define_properties_with_modes(PropertySetDef, PropertyDefs) -> Reply</name>
 
89
      <fsummary>Associate the given Property Definitions with the target object</fsummary>
 
90
      <type>
 
91
        <v>PropertySetDef = #objref</v>
 
92
        <v>PropertyDefs = [#'CosPropertyService_PropertyDef'{property_name = Name, property_value = Value, property_mode = Mode}]</v>
 
93
        <v>Name = string()</v>
 
94
        <v>Value = #any</v>
 
95
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
96
        <v>Reply = ok | {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}}</v>
 
97
        <v>Excs = [#'CosPropertyService_PropertyException{reason = Reason, failing_property_name = Name}]</v>
 
98
        <v>Reason = invalid_property_name | conflicting_property | property_not_found | unsupported_type_code | unsupported_property | unsupported_mode | fixed_property | read_only_property</v>
 
99
      </type>
 
100
      <desc>
 
101
        <p>This operation attempts to associate the given Property Definitions with the
 
102
          target object. If one or more attempts fail an exception is raised 
 
103
          describing which properties we where not able to create.</p>
 
104
      </desc>
 
105
    </func>
 
106
    <func>
 
107
      <name>get_property_mode(PropertySetDef, Name) -> Reply</name>
 
108
      <fsummary>Return the mode of the given property</fsummary>
 
109
      <type>
 
110
        <v>PropertySetDef = #objref</v>
 
111
        <v>Name = string()</v>
 
112
        <v>Reply = Mode | {'EXCEPTION', #CosPropertyService_InvalidPropertyName{}} | {'EXCEPTION', #CosPropertyService_PropertyNotFound{}}</v>
 
113
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
114
      </type>
 
115
      <desc>
 
116
        <p>This operation returns the type of the given property.</p>
 
117
      </desc>
 
118
    </func>
 
119
    <func>
 
120
      <name>get_property_modes(PropertySetDef, Names) -> Reply</name>
 
121
      <fsummary>Return the modes of the given properties</fsummary>
 
122
      <type>
 
123
        <v>PropertySetDef = #objref</v>
 
124
        <v>Names = [string()]</v>
 
125
        <v>Reply = {boolean(), PropertyModes}</v>
 
126
        <v>PropertyModes = [#'CosPropertyService_PropertyMode'{property_name = Name, property_mode = Mode}]</v>
 
127
        <v>Name = string()</v>
 
128
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
129
      </type>
 
130
      <desc>
 
131
        <p>This operation returns the modes of the listed properties. If the boolean
 
132
          flag is false, all properties with mode <c>undefined</c> this operation
 
133
          failed to comply.</p>
 
134
      </desc>
 
135
    </func>
 
136
    <func>
 
137
      <name>set_property_mode(PropertySetDef, Name, Mode) -> Reply</name>
 
138
      <fsummary>Change the given property's mode</fsummary>
 
139
      <type>
 
140
        <v>PropertySetDef = #objref</v>
 
141
        <v>Name = string()</v>
 
142
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
143
        <v>Reply = ok | {'EXCEPTION', #CosPropertyService_InvalidPropertyName{}} | {'EXCEPTION', #CosPropertyService_UnsupportedMode{}} | {'EXCEPTION', #CosPropertyService_PropertyNotFound{}}</v>
 
144
      </type>
 
145
      <desc>
 
146
        <p>This operation changes the given property's mode. Return the appropriate
 
147
          exception if not able to fulfill the request.</p>
 
148
      </desc>
 
149
    </func>
 
150
    <func>
 
151
      <name>set_property_modes(PropertySetDef, PropertyModes) -> Reply</name>
 
152
      <fsummary>Change the listed properties mode's</fsummary>
 
153
      <type>
 
154
        <v>PropertySetDef = #objref</v>
 
155
        <v>PropertyModes = [#'CosPropertyService_PropertyMode'{property_name = Name, property_mode = Mode}]</v>
 
156
        <v>Name = string()</v>
 
157
        <v>Mode = normal | read_only | fixed_normal | fixed_readonly | undefined</v>
 
158
        <v>Reply = ok | {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}}</v>
 
159
        <v>Excs = [#'CosPropertyService_PropertyException{reason = Reason, failing_property_name = Name}]</v>
 
160
        <v>Reason = invalid_property_name | conflicting_property | property_not_found | unsupported_type_code | unsupported_property | unsupported_mode | fixed_property | read_only_property</v>
 
161
      </type>
 
162
      <desc>
 
163
        <p>This operation attempts to update the listed properties mode's. Raises an 
 
164
          exception which describe which and why an operation failed.</p>
 
165
      </desc>
 
166
    </func>
 
167
  </funcs>
 
168
  
 
169
</erlref>
 
170