item.setProperty( memberDefn, memberDefn.validateValue( element .getModule( ), item.getLocalProperty( element.getModule( ), memberDefn ) ) );
if ( memberDefn.getTypeCode( ) == IPropertyType.STRUCT_TYPE && memberDefn.isList( ) ) validateList( element, propDefn, memberDefn, item .getLocalProperty( element.getModule( ), memberDefn ) ); else item.setProperty( memberDefn, memberDefn.validateValue( element .getModule( ), item.getLocalProperty( element .getModule( ), memberDefn ) ) );
	private static IStructure doValidateStructure( DesignElementHandle element,			IStructureDefn structDefn, IStructure item )			throws SemanticException	{		for ( Iterator iter = structDefn.propertiesIterator( ); iter.hasNext( ); )		{			PropertyDefn memberDefn = (PropertyDefn) iter.next( );			item.setProperty( memberDefn, memberDefn.validateValue( element					.getModule( ), item.getLocalProperty( element.getModule( ),					memberDefn ) ) );		}		if ( item instanceof Structure )		{			List errorList = ( (Structure) item ).validate(					element.getModule( ), element.getElement( ) );			if ( errorList.size( ) > 0 )			{				throw (SemanticException) errorList.get( 0 );			}		}		return item;	}