Package com.apama.iaf.plugin
Class EventCodecProperty
- java.lang.Object
-
- com.apama.iaf.plugin.EventCodecProperty
-
public class EventCodecProperty extends java.lang.ObjectEventCodecProperty holds a (name, value) pair of strings, and is used to store codec configuration propery values. Two EventCodecProperty values compare equal if they have the samename, even if theirvalueis different.
-
-
Constructor Summary
Constructors Constructor Description EventCodecProperty(java.lang.String name, java.lang.String value)Constructs a new (immutable) EventCodecProperty to represent the specified (name, value) pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returns true if the specified object is a EventCodecProperty with a matching key, whatever its value.java.lang.StringgetName()java.lang.StringgetValue()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
EventCodecProperty
public EventCodecProperty(java.lang.String name, java.lang.String value)Constructs a new (immutable) EventCodecProperty 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 EventCodecProperty with a matching key, whatever its value.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-