Class PlanKeyRestKeyAdapter


  • public class PlanKeyRestKeyAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<RestKey,​PlanKey>
    Used to convert a PlanKey into a RestKey. This differs from the PlanKeyAdapter as it produces a raw string. In this case we need the outputted json to mimic the object so we actually need "myObject.key.key" to get the string out as opposed to "myObject.key" which the PlanKeyAdapter provides.