my.setType(apiTypeToMyType(api.getType()));
my.setType(apiTypeToMyType_(api.getType()));
    public void toMyObject(Object myObject, Object apiObject, Set properties) {        super.toMyObject(myObject, apiObject, properties);        org.sipfoundry.sipxconfig.admin.callgroup.AbstractRing my =            (org.sipfoundry.sipxconfig.admin.callgroup.AbstractRing) myObject;        AbstractRing api = (AbstractRing) apiObject;        if (properties.contains(TYPE_PROP)) {            // Ideally we would just retrieve the enum value by name, e.g.            //     org.sipfoundry.sipxconfig.admin.callgroup.AbstractRing.Type.getEnum(api.getType())            // but we can't do that yet.  See XCF-794.            my.setType(apiTypeToMyType(api.getType()));        }    }