content: package com.soecode.wxtools.bean;
  
  import com.soecode.wxtools.api.WxConsts;
  import com.soecode.wxtools.util.xml.XStreamCDataConverter;
  import com.thoughtworks.xstream.annotations.XStreamAlias;
  import com.thoughtworks.xstream.annotations.XStreamConverter;
  
  public class WxXmlOutMusicMessage extends WxXmlOutMessage {
  	
  	@XStreamAlias("Music")
  	protected final Music music = new Music();
  	
  	public WxXmlOutMusicMessage() {
  		this.msgType = WxConsts.XML_MSG_MUSIC;
  	}
  	
  	public String getTitle() {
  		return music.title;
  	}
  
  	public void setTitle(String title) {
  		music.title = title;
  	}
  
  	public String getDescription() {
  		return music.description;
  	}
  
  	public void setDescription(String description) {
  		music.description = description;
  	}
  
  	public String getMusicUrl() {
  		return music.musicUrl;
  	}
  
  	public void setMusicUrl(String musicUrl) {
  		music.musicUrl = musicUrl;
  	}
  
  	public String gethQMusicUrl() {
  		return music.hQMusicUrl;
  	}
  
  	public void sethQMusicUrl(String hQMusicUrl) {
  		music.hQMusicUrl = hQMusicUrl;
  	}
  
  	public String getThumbMediaId() {
  		return music.thumbMediaId;
  	}
  
  	public void setThumbMediaId(String thumbMediaId) {
  		music.thumbMediaId = thumbMediaId;
  	}
  
  	@XStreamAlias("Music")
  	public static class Music{
  		@XStreamAlias("Title")
  		@XStreamConverter(value = XStreamCDataConverter.class)
  		private String title;
  
  		@XStreamAlias("Description")
  		@XStreamConverter(value = XStreamCDataConverter.class)
  		private String description;
  		
  		@XStreamAlias("MusicUrl")
  		@XStreamConverter(value = XStreamCDataConverter.class)
  		private String musicUrl;
  		
  		@XStreamAlias("HQMusicUrl")
  		@XStreamConverter(value = XStreamCDataConverter.class)
  		private String hQMusicUrl;
  		
  		@XStreamAlias("ThumbMediaId")
  		@XStreamConverter(value = XStreamCDataConverter.class)
  		private String thumbMediaId;
  
  		public String getTitle() {
  			return title;
  		}
  
  		public void setTitle(String title) {
  			this.title = title;
  		}
  
  		public String getDescription() {
  			return description;
  		}
  
  		public void setDescription(String description) {
  			this.description = description;
  		}
  
  		public String getMusicUrl() {
  			return musicUrl;
  		}
  
  		public void setMusicUrl(String musicUrl) {
  			this.musicUrl = musicUrl;
  		}
  
  		public String gethQMusicUrl() {
  			return hQMusicUrl;
  		}
  
  		public void sethQMusicUrl(String hQMusicUrl) {
  			this.hQMusicUrl = hQMusicUrl;
  		}
  
  		public String getThumbMediaId() {
  			return thumbMediaId;
  		}
  
  		public void setThumbMediaId(String thumbMediaId) {
  			this.thumbMediaId = thumbMediaId;
  		}
  		
  		
  	} 
  }
  