public class KeyedType extends Object implements DmcMappedAttributeIF, Serializable
| Constructor and Description |
|---|
KeyedType()
Mandatory zero arg constructor.
|
KeyedType(KeyedType kt)
Convenience copy constructor.
|
KeyedType(String s) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 KeyedType()
public KeyedType(KeyedType kt)
kt - the original KeyedType.public KeyedType(String s)
public String getValue()
public void serializeIt(DmcOutputStreamIF dos) throws Exception
Exceptionpublic void deserializeIt(DmcInputStreamIF dis) throws Exception
Exceptionpublic Object getKey()
DmcMappedAttributeIFgetKey in interface DmcMappedAttributeIFpublic String getKeyAsString()
DmcMappedAttributeIFgetKeyAsString in interface DmcMappedAttributeIFpublic boolean valuesAreEqual(DmcMappedAttributeIF obj)
DmcMappedAttributeIFvaluesAreEqual in interface DmcMappedAttributeIFobj - Another mapped attribute.Copyright © 2023. All rights reserved.