public class EventTransportProperty
extends java.lang.Object
name
, even if their
value
is different.Constructor and Description |
---|
EventTransportProperty(java.lang.String name,
java.lang.String value)
Constructs a new (immutable) EventTransportProperty to represent the
specified (name, value) pair.
|
Modifier and Type | Method and Description |
---|---|
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() |
public EventTransportProperty(java.lang.String name, java.lang.String value)
name
- Property name. Does not have to be unique.value
- Property value. Does not have to be unique.public java.lang.String getName()
public java.lang.String getValue()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.