21 package org.opensplice.dds.core.policy;
29 private static final long serialVersionUID = 5349819428623413367L;
30 private final Kind kind;
42 "Supplied kind is invalid.");
54 if (this.kind.equals(o.
getKind())) {
63 public boolean equals(Object other) {
67 return this.kind.equals(((OwnershipImpl) other).kind);
97 return 17 * 31 + this.kind.hashCode();
Ownership withKind(Kind kind)
Copy this policy and override the value of the property.
OsplServiceEnvironment environment
Comparable< Ownership > requestedOfferedContract()
Class<? extends QosPolicy > getPolicyClass()
EXCLUSIVE
Indicates each instance can only be owned by one org.omg.dds.pub.DataWriter, but the owner of an inst...
Ownership withExclusive()
SHARED
Indicates shared ownership for each instance.
This class is the abstract root for all the QoS policies.
boolean equals(Object other)
OwnershipImpl(OsplServiceEnvironment environment, Kind kind)
OwnershipImpl(OsplServiceEnvironment environment)
int compareTo(Ownership o)
This QosPolicy specifies whether a DataWriter exclusively may own an instance.