@SuppressWarnings("deprecation")
    private void setArray(OMMArray array)
    {
        switch (array.getDataType())
        {
            case OMMTypes.INT32:
            case OMMTypes.UINT32:
            {
                int[] value = new int[array.getCount()];
                int i = 0;
                for (Iterator<?> iter = array.iterator(); iter.hasNext();)
                {
                    value[i++] = (int)((OMMNumeric)((OMMEntry)iter.next()).getData()).toLong();
                }
                _value = value;
            }
                break;
            case OMMTypes.QOS:
            {
                QualityOfService[] value = new QualityOfService[array.getCount()];
                int i = 0;
                for (Iterator<?> iter = array.iterator(); iter.hasNext();)
                {
                    value[i++] = ((OMMQos)((OMMEntry)iter.next()).getData()).toQos();
                }
                _value = value;
            }
                break;
            default:
            {
                String[] value = new String[array.getCount()];
                int i = 0;
                for (Iterator<?> iter = array.iterator(); iter.hasNext();)
                {
                    value[i++] = ((OMMEntry)iter.next()).getData().toString();
                }
                _value = value;
            }
                break;
        }
    }