public class StringToString extends Object implements DmcMappedAttributeIF, Serializable, Comparable<StringToString>
| Constructor and Description |
|---|
StringToString() |
StringToString(String k) |
StringToString(String k,
String v) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StringToString o) |
void |
deserializeIt(DmcInputStreamIF dis) |
boolean |
equals(Object obj) |
Object |
getKey()
Returns the key associated with this attribute value.
|
String |
getKeyAsString()
Returns the key value represented as a string.
|
String |
getValue() |
void |
serializeIt(DmcOutputStreamIF dos) |
String |
toString() |
boolean |
valuesAreEqual(DmcMappedAttributeIF obj)
This method is used by the Modifier mechanism to determine whether or not a
change has occurred as a result of applying the modifier.
|
public StringToString()
public StringToString(String k)
public Object getKey()
DmcMappedAttributeIFgetKey in interface DmcMappedAttributeIFpublic String getKeyAsString()
DmcMappedAttributeIFgetKeyAsString in interface DmcMappedAttributeIFpublic String getValue()
public void serializeIt(DmcOutputStreamIF dos) throws Exception
Exceptionpublic void deserializeIt(DmcInputStreamIF dis) throws Exception
Exceptionpublic boolean valuesAreEqual(DmcMappedAttributeIF obj)
DmcMappedAttributeIFvaluesAreEqual in interface DmcMappedAttributeIFobj - Another mapped attribute.public int compareTo(StringToString o)
compareTo in interface Comparable<StringToString>Copyright © 2023. All rights reserved.