
            /**
            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.*;    
                
            
            /**
              
		Request to export item category by ITC message. Will respond with ITC message.
	
                          Corresponding GameBots command is 
                          GETITC.
                      
             */
            
            public class
            GetItemCategory extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command GetItemCategory.
              
		Request to export item category by ITC message. Will respond with ITC message.
	Corresponding GameBots message for this command is 
              GETITC.
                  @param Type 
			Class of the item we want to export ITC message for. Must be pickup class (e.g.
			xWeapons.FlakCannonPickup).
		
              */
             public GetItemCategory(
                String Type) {
                    
                    this.Type = Type;
                
                }
               
            
            		/**
		             Creates new instance of command GetItemCategory.
		             
		Request to export item category by ITC message. Will respond with ITC message.
	Corresponding GameBots message for this command is 
		             GETITC.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  GetItemCategory() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Class of the item we want to export ITC message for. Must be pickup class (e.g.
			xWeapons.FlakCannonPickup).
		 */
        protected
         String Type = 
        	null;
        
        
        /**
        
			Class of the item we want to export ITC message for. Must be pickup class (e.g.
			xWeapons.FlakCannonPickup).
		 */
        public
        String getType() {
            return
         Type;
        }
        

        
            /**         
        
			Class of the item we want to export ITC message for. Must be pickup class (e.g.
			xWeapons.FlakCannonPickup).
		 */
        public GetItemCategory setType(String Type) {
            this.Type = Type;
            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 GetItemCategory(GetItemCategory original) {
                
                     this.Type=original.Type;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Type</b> : " + 
            String.valueOf(Type) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("GETITC");
              		
		    					if (Type != null) {
		    						buf.append(" {Type " + Type + "}");
		    					}
		    				            
            		return buf.toString();
            }
             
             }
                         
        