com.apama.iaf.plugin
Class EventTransportProperty

java.lang.Object
  extended by com.apama.iaf.plugin.EventTransportProperty

public class EventTransportProperty
extends java.lang.Object

EventTransportProperty holds a (name, value) pair of strings, and is used to store transport configuration propery values. Two EventTransportProperty values compare equal if they have the same name, even if their value is different.


Constructor Summary
EventTransportProperty(java.lang.String name, java.lang.String value)
          Constructs a new (immutable) EventTransportProperty to represent the specified (name, value) pair.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the specified object is a EventTransportProperty with a matching key, whatever its value.
 java.lang.String getName()
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventTransportProperty

public EventTransportProperty(java.lang.String name,
                              java.lang.String value)
Constructs a new (immutable) EventTransportProperty to represent the specified (name, value) pair. Neither the name nor the value must be unique among properties. If either is null it will be converted to an empty string by this constructor.

Parameters:
name - Property name. Does not have to be unique.
value - Property value. Does not have to be unique.
Method Detail

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()

equals

public boolean equals(java.lang.Object obj)
Returns true if the specified object is a EventTransportProperty with a matching key, whatever its value.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG