OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.policy.ViewKeysImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.policy.ViewKeysImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.policy.ViewKeysImpl:
Collaboration graph

Public Member Functions

 ViewKeysImpl (OsplServiceEnvironment environment, String... keyValue)
 
 ViewKeysImpl (OsplServiceEnvironment environment, Collection< String > keyValue)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
Set< String > getKey ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
ViewKeys withKey (Collection< String > keyList)
 Copy this policy and override the value of the property. More...
 
ViewKeys withKey (String keyList)
 Copy this policy and override the value of the property. More...
 
ViewKeys withKey (String... keyList)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 31 of file ViewKeysImpl.java.

Constructor & Destructor Documentation

◆ ViewKeysImpl() [1/2]

org.opensplice.dds.core.policy.ViewKeysImpl.ViewKeysImpl ( OsplServiceEnvironment  environment,
String...  keyValue 
)

Definition at line 35 of file ViewKeysImpl.java.

◆ ViewKeysImpl() [2/2]

org.opensplice.dds.core.policy.ViewKeysImpl.ViewKeysImpl ( OsplServiceEnvironment  environment,
Collection< String >  keyValue 
)

Definition at line 44 of file ViewKeysImpl.java.

Member Function Documentation

◆ equals()

boolean org.opensplice.dds.core.policy.ViewKeysImpl.equals ( Object  other)

Definition at line 82 of file ViewKeysImpl.java.

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 40 of file QosPolicyImpl.java.

◆ getKey()

Set<String> org.opensplice.dds.core.policy.ViewKeysImpl.getKey ( )
Returns
an unmodifiable collection of view keys.

Implements org.opensplice.dds.core.policy.ViewKeys.

Definition at line 57 of file ViewKeysImpl.java.

◆ getPolicyClass()

Class<? extends QosPolicy> org.opensplice.dds.core.policy.ViewKeysImpl.getPolicyClass ( )

Definition at line 77 of file ViewKeysImpl.java.

◆ hashCode()

int org.opensplice.dds.core.policy.ViewKeysImpl.hashCode ( )

Definition at line 95 of file ViewKeysImpl.java.

◆ withKey() [1/3]

ViewKeys org.opensplice.dds.core.policy.ViewKeysImpl.withKey ( Collection< String >  keyList)

Copy this policy and override the value of the property.

Parameters
keyListA collection of strings with one or more names of the data set of the DataReader acting as alternative keys.
Returns
a new ViewKeys policy

Implements org.opensplice.dds.core.policy.ViewKeys.

Definition at line 62 of file ViewKeysImpl.java.

◆ withKey() [2/3]

ViewKeys org.opensplice.dds.core.policy.ViewKeysImpl.withKey ( String  keyList)

Copy this policy and override the value of the property.

Parameters
keyListA strings with one name of the data set of the DataReader acting as alternative keys.
Returns
a new ViewKeys policy

Implements org.opensplice.dds.core.policy.ViewKeys.

Definition at line 67 of file ViewKeysImpl.java.

◆ withKey() [3/3]

ViewKeys org.opensplice.dds.core.policy.ViewKeysImpl.withKey ( String...  keyList)

Copy this policy and override the value of the property.

Parameters
keyListAn arbitrary number of strings with one or more names of the data set of the DataReader acting as alternative keys.
Returns
a new ViewKeys policy

Implements org.opensplice.dds.core.policy.ViewKeys.

Definition at line 72 of file ViewKeysImpl.java.

Member Data Documentation

◆ environment

OsplServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.environment
protectedinherited

Definition at line 29 of file QosPolicyImpl.java.


The documentation for this class was generated from the following file: