public class IntegerToString extends Object implements DmcMappedAttributeIF, Serializable
| Constructor and Description |
|---|
IntegerToString() |
IntegerToString(Integer k) |
IntegerToString(Integer k,
String v) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeIt(DmcInputStreamIF dis) |
boolean |
equals(Object obj) |
Object |
getKey()
Returns the key associated with this attribute value.
|
Integer |
getKeyAsInteger() |
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 IntegerToString()
public IntegerToString(Integer k)
public Object getKey()
DmcMappedAttributeIFgetKey in interface DmcMappedAttributeIFpublic String getKeyAsString()
DmcMappedAttributeIFgetKeyAsString in interface DmcMappedAttributeIFpublic Integer getKeyAsInteger()
public 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.Copyright © 2023. All rights reserved.