The CompositeKey object is used to convert an object to an from an XML element. This accepts only composite objects and will throw an exception if the ElementMap annotation is configured to have an attribute key. If a key name is given for the annotation then this will act as a parent element to the resulting XML element for the composite object.
Inheritance: Converter
Esempio n. 1
0
 public String GetValue(CompositeKey key)
 {
     return(map.get(key).value);
 }
Esempio n. 2
0
 public String GetValue(CompositeKey key) {
    return map.get(key).value;
 }
Esempio n. 3
0
 public String GetValue(CompositeKey key) {
    MapEntry entry = map.get(key);
    if(entry != null) {
       return entry.value;
    }
    return null;
 }