Article View: comp.protocols.iso
Article #6Re: GET_REPLACE operation
From: Gary Watson (US/ESB)
Date: Wed, 28 Oct 1992 18:12
Date: Wed, 28 Oct 1992 18:12
46 lines
2086 bytes
2086 bytes
In article <1992Oct27.011441.3615@sj.nec.com>, hans@midway.tdd.sj.nec.com (Hans Altenhofen x3809) writes:
|> I have a question concerning how to perform a GET-REPLACE operation on an
|> attribute that was defined using the SET OF syntax.
|>
|> I am making the following assumptions:
|>
|> 1. Use the M-SET operation
|> 2. Set the ModificationList.modifyOperator = replace
|>
|> What is unclear to me is how do I designate which member I wish
|> to replace with a new value?
|>
|> Thanks in advance,
|>
|> Hans
|> hans@tdd.sj.nec.com
There are four possible modifications you can make to an attribute :-
{
replace,
add values,
remove values,
set to default
}
Of these add/remove values are only applicable to set valued attributes.
'add values' means add the supplied members to the set. 'remove values' means
remove the supplied members from the set.
'replace' is applicable to both set and single valued attributes and can basically be considered equivalent to assignment.
replace means : 'replace the current value of the attribute (i.e. if it is a set,
every member) with the value that is supplied'
For each operation (apart from set to default) a value for the attribute must be
supplied. The difference is, what is done with that value is determined by the
value of the modify operator.
Your question is a little bit confusing. I think what you want to do is to
replace a member of a set with a different value (?). This involves two modify
operations - the first to 'remove' the old member and the second to 'add' the new
member.
----------------
Gary Watson
Technical Details
Message-ID:
<1992Oct28.181255.13016@us-es.sel.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!ira.uka.de!slsvaat!us-es.sel.de!watsonReferences:
<1992Oct27.011441.3615@sj.nec.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.protocols.iso Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!ira.uka.de!slsvaat!us-es.sel.de!watson From: watson@us-es.sel.de (Gary Watson (US/ESB)) Subject: Re: GET_REPLACE operation Message-ID: <1992Oct28.181255.13016@us-es.sel.de> Keywords: CMISE operation Sender: news@us-es.sel.de Organization: SEL-Alcatel LTS Dept. US/ES References: <1992Oct27.011441.3615@sj.nec.com> Date: Wed, 28 Oct 92 18:12:55 GMT Lines: 46