Object function ( ) { if ( this . equals ( XYCoordinateType . DATA ) ) { return XYCoordinateType . DATA ; } else if ( this . equals ( XYCoordinateType . RELATIVE ) ) { return XYCoordinateType . RELATIVE ; } else if ( this . equals ( XYCoordinateType . INDEX ) ) { return XYCoordinateType . INDEX ; } return null ; }
ensures that serialization returns the unique instances . concode_field_sep String name concode_elem_sep XYCoordinateType DATA concode_elem_sep XYCoordinateType RELATIVE concode_elem_sep XYCoordinateType INDEX concode_field_sep boolean equals concode_elem_sep String toString