Class s7sdk.ItemDesc
The ItemDesc is a base class of every set element. Each set element must have a
swatch associated with it, name and the type.
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							 
								s7sdk.ItemDesc(parent, type, name, swatch)
							 
							
						 | 
					
| Field Attributes | Field Name and Description | 
|---|---|
| 
								
								 The  
							name represents the catalog ID of the set element and it corresponds to the n attribute of
the <i>, <v> or  <set> XML elements of the req=set response. | 
						|
| 
								
								 The reference to the set to which the item belongs. 
							 | 
						|
| 
								
								 The swatch corresponds to the <s> XML element of the req=set response. 
							 | 
						|
| 
								
								 The type of the item element. 
							 | 
						
					Class Detail
				
				
				
						s7sdk.ItemDesc(parent, type, name, swatch)
				
				
				- Parameters:
 - parent
 - The parent set.
 - type
 - The type of the item element. The supported types are listed in the 
ItemDescTypeenumeration. - name
 - The catalog ID associated with the item.
 - swatch
 - The swatch associated with the item (SwatchDesc).
 
					Field Detail
				
				
					 
					
					
					
					name
					
					
					
						The 
					
					
						
						
						
						
					name represents the catalog ID of the set element and it corresponds to the n attribute of
the <i>, <v> or  <set> XML elements of the req=set response.
						
					
					
					
					parent
					
					
					
						The reference to the set to which the item belongs. If the item represents the top-level set the 
					
					
						
						
						
						
					parent is set to null.
						
					
					
					
					swatch
					
					
					
						The swatch corresponds to the <s> XML element of the req=set response. Every set item must have a swatch associated with it.
						
					
					
					
						
						
						
						
					
					
					
					type
					
					
					
						The type of the item element. The supported types are listed in the 
					
					
						
						
						
						
					
				
			
		
			
			
		
			
			
			ItemDescType enumeration.
	The type corresponds to the type attribute of the <item> XML element of the req=set
response.