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

Public Member Functions

 PartitionImpl (OsplServiceEnvironment environment)
 
 PartitionImpl (OsplServiceEnvironment environment, Collection< String > name)
 
 PartitionImpl (OsplServiceEnvironment environment, String... name)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
Set< String > getName ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
Partition withName (Collection< String > name)
 Copy this policy and override the value of the property. More...
 
Partition withName (String... names)
 Copy this policy and override the value of the property. More...
 
Partition withName (String name)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 33 of file PartitionImpl.java.

Constructor & Destructor Documentation

◆ PartitionImpl() [1/3]

org.opensplice.dds.core.policy.PartitionImpl.PartitionImpl ( OsplServiceEnvironment  environment)

Definition at line 37 of file PartitionImpl.java.

◆ PartitionImpl() [2/3]

org.opensplice.dds.core.policy.PartitionImpl.PartitionImpl ( OsplServiceEnvironment  environment,
Collection< String >  name 
)

Definition at line 43 of file PartitionImpl.java.

◆ PartitionImpl() [3/3]

org.opensplice.dds.core.policy.PartitionImpl.PartitionImpl ( OsplServiceEnvironment  environment,
String...  name 
)

Definition at line 58 of file PartitionImpl.java.

Member Function Documentation

◆ equals()

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

Definition at line 97 of file PartitionImpl.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.

◆ getName()

Set<String> org.opensplice.dds.core.policy.PartitionImpl.getName ( )
Returns
an unmodifiable collection of partition names.

Implements org.omg.dds.core.policy.Partition.

Definition at line 72 of file PartitionImpl.java.

◆ getPolicyClass()

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

Definition at line 87 of file PartitionImpl.java.

◆ hashCode()

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

Definition at line 113 of file PartitionImpl.java.

◆ withName() [1/3]

Partition org.opensplice.dds.core.policy.PartitionImpl.withName ( Collection< String >  name)

Copy this policy and override the value of the property.

Parameters
nameA Collection of strings, which specifies the partitions.
Returns
a new Partition policy

Implements org.omg.dds.core.policy.Partition.

Definition at line 77 of file PartitionImpl.java.

◆ withName() [2/3]

Partition org.opensplice.dds.core.policy.PartitionImpl.withName ( String...  names)

Copy this policy and override the value of the property.

Parameters
namesAn arbitrary number of name strings , which specifies the partitions.
Returns
a new Partition policy

Implements org.omg.dds.core.policy.Partition.

Definition at line 82 of file PartitionImpl.java.

◆ withName() [3/3]

Partition org.opensplice.dds.core.policy.PartitionImpl.withName ( String  name)

Copy this policy and override the value of the property.

Parameters
nameA name string , which specifies the partition.
Returns
a new Partition policy

Implements org.omg.dds.core.policy.Partition.

Definition at line 92 of file PartitionImpl.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: