KeyedString Class Reference
[KeyedString Built-in Type]

Keyed string built-in type. More...

Inheritance diagram for KeyedString:

Copyable

List of all members.

Public Member Functions

 KeyedString ()
 Default Constructor.
 KeyedString (KeyedString src)
 Copy constructor.
Object copy_from (Object src)
 Copy value of a data type from source.

Public Attributes

String key
 Instance key associated with the specified value.
String value
 String value.


Detailed Description

Keyed string built-in type.

Constructor & Destructor Documentation

KeyedString (  ) 

Default Constructor.

The default constructor initializes the newly created object with empty key and value.

KeyedString ( KeyedString  src  ) 

Copy constructor.

Parameters:
src <<in>> Object to copy from.
Exceptions:
NullPointerException if src is null.


Member Function Documentation

Object copy_from ( Object  src  ) 

Copy value of a data type from source.

Copy data into this object from another. This copy is intended to be a deep copy, so that all data members (recursively) are copied (not just resetting Object references).

This operation returns the object that is copied if copy is successful.

Parameters:
src <<in>> The Object which contains the data to be copied.
Returns:
Generally, return this but special cases (such as Enum) exist.
Exceptions:
NullPointerException If src is null.
ClassCastException If src is not the same type as this.

Implements Copyable.


Member Data Documentation

String key

Instance key associated with the specified value.

String value

String value.


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc