org.omg.dds.core.modifiable
Interface ModifiableEntityQos<UNMOD_SELF extends EntityQos<UNMOD_SELF,MOD_SELF>,MOD_SELF extends UNMOD_SELF>

All Superinterfaces:
java.lang.Cloneable, DDSObject, EntityQos<UNMOD_SELF,MOD_SELF>, java.util.Map<QosPolicy.Id,QosPolicy<?,?>>, ModifiableValue<UNMOD_SELF,MOD_SELF>, java.io.Serializable, Value<UNMOD_SELF,MOD_SELF>
All Known Subinterfaces:
ModifiableDataReaderQos, ModifiableDataWriterQos, ModifiableDomainParticipantFactoryQos, ModifiableDomainParticipantQos, ModifiablePublisherQos, ModifiableSubscriberQos, ModifiableTopicQos

public interface ModifiableEntityQos<UNMOD_SELF extends EntityQos<UNMOD_SELF,MOD_SELF>,MOD_SELF extends UNMOD_SELF>
extends EntityQos<UNMOD_SELF,MOD_SELF>, ModifiableValue<UNMOD_SELF,MOD_SELF>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
<POLICY extends QosPolicy<POLICY,?>>
POLICY
put(QosPolicy.Id key, POLICY value)
          Overwrite the value of the indicated policy with the given new value.
 
Methods inherited from interface org.omg.dds.core.EntityQos
clear, get, put, remove
 
Methods inherited from interface java.util.Map
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, size, values
 
Methods inherited from interface org.omg.dds.core.modifiable.ModifiableValue
clone, copyFrom, finishModification
 
Methods inherited from interface org.omg.dds.core.Value
equals, hashCode, modify
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Method Detail

put

<POLICY extends QosPolicy<POLICY,?>> POLICY put(QosPolicy.Id key,
                                                POLICY value)
Overwrite the value of the indicated policy with the given new value. Subsequent calls to Map.get(Object) may return the given object or a copy of it.

Returns:
the previous value of the indicated policy if that policy applies to this EntityQos's Entity or null otherwise. If the returned object is not null, changes to it will not be reflected by subsequent calls to Map.get(Object).
Throws:
java.lang.NullPointerException - if the given key or value is null.


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.