@ SuppressWarnings ( "unused" ) @ XmlID @ XmlAttribute ( name = "id" ) private String getXmlID ( ) { return String . format ( "%s-%s" , this . getClass ( ) . getSimpleName ( ) , Long . valueOf ( id ) ) ; }
to do with XmlId value being strictly of type String