
            /**
            IMPORTANT !!!
       
            DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbcommands BY
            THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
       
            IMPORTANT END !!!
            */
            package
            cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands;
	    		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.*;    
                
            
            /**
              
		Server will start recording demo of current game. Command is
		confirmed by RECSTART message.
	
                          Corresponding GameBots command is 
                          REC.
                      
             */
            
            public class
            Record extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command Record.
              
		Server will start recording demo of current game. Command is
		confirmed by RECSTART message.
	Corresponding GameBots message for this command is 
              REC.
                  @param FileName 
			Name of the saved demo file. The file will be located on the
			server.
		
              */
             public Record(
                String FileName) {
                    
                    this.FileName = FileName;
                
                }
               
            
            		/**
		             Creates new instance of command Record.
		             
		Server will start recording demo of current game. Command is
		confirmed by RECSTART message.
	Corresponding GameBots message for this command is 
		             REC.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  Record() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Name of the saved demo file. The file will be located on the
			server.
		 */
        protected
         String FileName = 
        	null;
        
        
        /**
        
			Name of the saved demo file. The file will be located on the
			server.
		 */
        public
        String getFileName() {
            return
         FileName;
        }
        

        
            /**         
        
			Name of the saved demo file. The file will be located on the
			server.
		 */
        public Record setFileName(String FileName) {
            this.FileName = FileName;
            return this;
            }
       
            /////// 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 Record(Record original) {
                
                     this.FileName=original.FileName;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>FileName</b> : " + 
            String.valueOf(FileName) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("REC");
              		
		    					if (FileName != null) {
		    						buf.append(" {FileName " + FileName + "}");
		    					}
		    				            
            		return buf.toString();
            }
             
             }
                         
        