
            /**
            IMPORTANT !!!
       
            DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbinfomessages BY
            THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
       
            IMPORTANT END !!!
            */
            package
            cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages;
	    		import java.util.*;    
    import javax.vecmath.*;    
    import cz.cuni.amis.pogamut.base.communication.messages.*;    
    import cz.cuni.amis.pogamut.base.agent.worldview.*;    
    import cz.cuni.amis.pogamut.base.agent.worldview.objects.*;    
    import cz.cuni.amis.pogamut.base.communication.translator.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category;    
    import cz.cuni.amis.pogamut.base.exceptions.*;    
    import cz.cuni.amis.pogamut.base3d.worldview.objects.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.*;    
    import cz.cuni.amis.pogamut.ut2004.agent.worldview.objects.*;    
                
            
            /**
              
		Asynchronous message. Recieved message from team chat channel.
	
                          Corresponding GameBots message is 
                          VMT.
                      
             */
            
            public class
            TeamChat
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"VMT {Id unreal_id} {Name text} {Text text}";
    
            
            /////// Properties BEGIN
            
        /**
        
			Unique UnrealId of the sender.
		 */
        protected
         UnrealId Id = 
        	null;
        
        
        /**
        
			Unique UnrealId of the sender.
		 */
        public
        UnrealId getId() {
            return
         Id;
        }
        

        
        /**
        
			Human readable name of the sender.
		 */
        protected
         String Name = 
        	null;
        
        
        /**
        
			Human readable name of the sender.
		 */
        public
        String getName() {
            return
         Name;
        }
        

        
        /**
        
			A human readable message sent by a team mate in the game on
			the private team channel.
		 */
        protected
         String Text = 
        	null;
        
        
        /**
        
			A human readable message sent by a team mate in the game on
			the private team channel.
		 */
        public
        String getText() {
            return
         Text;
        }
        

        
            /////// Properties END
            
            /////// Extra Java code BEGIN
                        	
            	/////// Additional code from xslt BEGIN            	 
            			
            		
            		
            	/////// Additional code from xslt END            
				                    
	            /////// Extra Java from XML BEGIN
            		
            	/////// Extra Java from XML END
            	    
            /////// Extra Java code END
            
            
            
            /**
              * Cloning constructor.
              */
             public TeamChat(TeamChat original) {
                
                     this.Id=original.Id;
                
                     this.Name=original.Name;
                
                     this.Text=original.Text;
                
             }   
             
             
                 /**
                  * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
                  */
	             public TeamChat() {
	             }
             
                
                 
            public String toString() {
                return
                
                		super.toString() + " | " +
                		
				               "Id = " + 
				               String.valueOf(Id) + " | " +
				            
				               "Name = " + 
				               String.valueOf(Name) + " | " +
				            
				               "Text = " + 
				               String.valueOf(Text) + " | " +
				             "";
                	 
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             
            "<b>Name</b> : " + 
            String.valueOf(Name) + 
            " <br/> " +
             
            "<b>Text</b> : " + 
            String.valueOf(Text) + 
            " <br/> " +
             "";
             }            
             
             
             
             }
                         
        