public TLVAmqp getValue()
        {
            TLVList list = new TLVList();

            if (_messageId != null)
            {
                Object value = null;
                if (_messageId.getBinary() != null)
                {
                    value = _messageId.getBinary();
                }
                else if (_messageId.getLong() != null)
                {
                    value = _messageId.getLong();
                }
                else if (_messageId.getString() != null)
                {
                    value = _messageId.getString();
                }
                else if (_messageId.getUuid() != null)
                {
                    value = _messageId.getUuid();
                }
                list.addElement(0, AMQPWrapper <AMQPSymbol> .wrap(value));
            }

            if (_userId != null)
            {
                list.addElement(1, AMQPWrapper <AMQPSymbol> .wrap(_userId));
            }

            if (_to != null)
            {
                list.addElement(2, AMQPWrapper <AMQPSymbol> .wrap(_to));
            }

            if (_subject != null)
            {
                list.addElement(3, AMQPWrapper <AMQPSymbol> .wrap(_subject));
            }

            if (_replyTo != null)
            {
                list.addElement(4, AMQPWrapper <AMQPSymbol> .wrap(_replyTo));
            }

            if (_correlationId != null)
            {
                list.addElement(5, AMQPWrapper <AMQPSymbol> .wrap(_correlationId));
            }

            if (_contentType != null)
            {
                list.addElement(6, AMQPWrapper <AMQPSymbol> .wrap(_contentType));
            }

            if (_contentEncoding != null)
            {
                list.addElement(7, AMQPWrapper <AMQPSymbol> .wrap(_contentEncoding));
            }

            if (_absoluteExpiryTime != null)
            {
                list.addElement(8, AMQPWrapper <AMQPSymbol> .wrap(_absoluteExpiryTime));
            }

            if (_creationTime != null)
            {
                list.addElement(9, AMQPWrapper <AMQPSymbol> .wrap(_creationTime));
            }

            if (_groupId != null)
            {
                list.addElement(10, AMQPWrapper <AMQPSymbol> .wrap(_groupId));
            }

            if (_groupSequence != null)
            {
                list.addElement(11, AMQPWrapper <AMQPSymbol> .wrap(_groupSequence));
            }

            if (_replyToGroupId != null)
            {
                list.addElement(12, AMQPWrapper <AMQPSymbol> .wrap(_replyToGroupId));
            }

            DescribedConstructor constructor = new DescribedConstructor(list.Code, new TLVFixed(AMQPType.SMALL_ULONG, new byte[] { 0x73 }));

            list.Constructor = constructor;

            return(list);
        }