
            /**
            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.*;    
                
            
            /**
              
		Get a path to a specified location. An ordered list of path
		nodes will be returned to you by IPTH messages.
	
                          Corresponding GameBots command is 
                          GETPATH.
                      
             */
            
            public class
            GetPath extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command GetPath.
              
		Get a path to a specified location. An ordered list of path
		nodes will be returned to you by IPTH messages.
	Corresponding GameBots message for this command is 
              GETPATH.
                  @param Id 
			Message Id made up by you and echoed in response so you can
			match up response with query.
		
                  @param Location Location you want to go to.
              */
             public GetPath(
                String Id,  Location Location) {
                    
                    this.Id = Id;
                
                    this.Location = Location;
                
                }
               
            
            		/**
		             Creates new instance of command GetPath.
		             
		Get a path to a specified location. An ordered list of path
		nodes will be returned to you by IPTH messages.
	Corresponding GameBots message for this command is 
		             GETPATH.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  GetPath() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Message Id made up by you and echoed in response so you can
			match up response with query.
		 */
        protected
         String Id = 
        	null;
        
        
        /**
        
			Message Id made up by you and echoed in response so you can
			match up response with query.
		 */
        public
        String getId() {
            return
         Id;
        }
        

        
            /**         
        
			Message Id made up by you and echoed in response so you can
			match up response with query.
		 */
        public GetPath setId(String Id) {
            this.Id = Id;
            return this;
            }
       
        /**
        Location you want to go to. */
        protected
         Location Location = 
        	null;
        
        
        /**
        Location you want to go to. */
        public
        Location getLocation() {
            return
         Location;
        }
        

        
            /**         
        Location you want to go to. */
        public GetPath setLocation(Location Location) {
            this.Location = Location;
            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 GetPath(GetPath original) {
                
                     this.Id=original.Id;
                
                     this.Location=original.Location;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             
            "<b>Location</b> : " + 
            String.valueOf(Location) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("GETPATH");
              		
		    					if (Id != null) {
		    						buf.append(" {Id " + Id + "}");
		    					}
		    				
                                if (Location != null) {
                                    buf.append(" {Location " + 
                                        Location.getX() + "," + 
                                        Location.getY() + "," + 
                                        Location.getZ() + "}");
                                }
                                        
            		return buf.toString();
            }
             
             }
                         
        