There are a number of types that it would be nice to be able to convert to a String.
For example, one can convert use EPPXMLBase.transferStatusToString() to convert a status type
to the String equivalent.
Unfortunately not all types can be converted this way.
For example the transfer op type cannot. There is a transfer_op_to_string_array_ String array,
but it is protected, and there is no public static method we can call.
Additionally I wonder if EPPDomainBase's period_unit_to_string_array_ String array might not be
modified to use "m" and "yr", or something better than "y" for year. Note: this array is public,
which is good since their is not yet a public static coverter method for it.
In general, it would seem the API should provide a means to convert every type through these
array mechanisms for type to String conversion.
Log in to post a comment.